添加日志允许记录级别功能

This commit is contained in:
thinkphp
2016-07-04 18:20:07 +08:00
parent ca243c3e14
commit 81ff60592a
2 changed files with 27 additions and 5 deletions

View File

@@ -145,9 +145,11 @@ return [
'log' => [
// 日志记录方式,内置 file sae 支持扩展
'type' => 'File',
'type' => 'File',
// 日志保存目录
'path' => LOG_PATH,
'path' => LOG_PATH,
// 日志记录级别
'level' => [],
],
// +----------------------------------------------------------------------