<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>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                * 配置 Log組件是基于Monolog組件封裝實現的,在應用層配置文件中 ~~~ 'components' => [ 'log' => [ 'class' => 'Swoolefy\Tool\Log', 'channel’=> 'Application', 'logFilePath' => rtrim(LOG_PATH,'/').'/runtime.log'; ], ] ~~~ 可選的全局配置項: channel:是指log保存的主題 logFilePath:log存儲日志文件路徑 output:日志輸出格式,默認格式`"[%datetime%] %channel% > %level_name% : %message% \n"`,可以參考Monolog組件 在實際使用中也可以覆蓋默認的全局配置,例如: ~~~ switch($errorType) { case 'error': Application::getApp()->log->setChannel('Application')->setLogFilePath($logFilePath)->addError($errorMsg); break; case 'warning': Application::getApp()->log->setChannel('Application')->setLogFilePath($logFilePath)->addWarning($errorMsg); break; case 'notice': Application::getApp()->log->setChannel('Application')->setLogFilePath($logFilePath)->addNotice($errorMsg); break; case 'info': Application::getApp()->log->setChannel('Application')->setLogFilePath($logFilePath)->addInfo($errorMsg); break; } ~~~ 函數setChannel()可以覆蓋原來組件定義的信道 函數setLogFilePath()可以覆蓋原來組件定義的文件路徑
                  <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>

                              哎呀哎呀视频在线观看