<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                * 用途 方便實現類日志的單獨收集 * 定義 ~~~ trait LogTrait { /** * 日志記錄器 * * @var unknown */ protected $_logger; /** * 設置日志記錄器 * * @param unknown $logger */ public function setLogger(LoggerInterface $logger) { $this->_logger = $logger; } /** * 獲取日志記錄器 * * @return LoggerInterface */ protected function getLogger() { return $this->_logger; } /** * System is unusable * * @param string $message * @param array $context */ protected function logEmergency($message, $context = []) { return $this->log('emergency', $message, $context); } /** * Action must be taken immediately * * @param string $message * @param array $context */ protected function logAlert($message, $context = []) { return $this->log('alert', $message, $context); } /** * Critical conditions * * @param string $message * @param array $context */ protected function logCritical($message, $context = []) { return $this->log('critical', $message, $context); } /** * Runtime errors * * @param string $message * @param array $context */ protected function logError($message, $context = []) { return $this->log('error', $message, $context); } /** * Exceptional occurrences * * @param string $message * @param array $context */ protected function logWarning($message, $context = []) { return $this->log('warning', $message, $context); } /** * Normal but significant events * * @param string $message * @param array $context */ protected function logNotice($message, $context = []) { return $this->log('notice', $message, $context); } /** * Interesting events * * @param string $message * @param array $context */ protected function logInfo($message, $context = []) { return $this->log('info', $message, $context); } /** * Detailed debug information * * @param string $message * @param array $context */ protected function logDebug($message, $context = []) { return $this->log('debug', $message, $context); } /** * 記錄日志 * * @param string $level * @param string $message * @param array $context */ protected function log($level, $message, $context = []) { $logger = $this->getLogger(); if ($logger) { if (method_exists($logger, $level)) { return $logger->$level($message, $context); } else { return $logger->log($level, $message, $context); } } } } ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看