Explorar o código

modify log level

superbee315 %!s(int64=5) %!d(string=hai) anos
pai
achega
30aafe9e4c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      config/config.php

+ 1 - 1
config/config.php

@@ -175,7 +175,7 @@ return [
         // 日志保存目录
         'path'  => LOG_PATH,
         // 日志记录级别
-        'level' => [],
+        'level' => ['error', 'notice'],
     ],
 
     // +----------------------------------------------------------------------