public static function show() { try { $data = Logs::show(); } catch (Exception $e) { throw new RpcException($e->getMessage(), -31001); } return $data; }
private function show($extensive) { try { $data = SourceLogs::show(); } catch (DatabaseException $de) { throw $de; } catch (Exception $e) { throw $e; } return $this->doShow($data, $extensive); }