mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
明确指定正式环境的日志级别
This commit is contained in:
@@ -9,9 +9,8 @@ use think\facade\Env;
|
||||
|
||||
$level = [];
|
||||
|
||||
|
||||
if (!Env::get('APP_DEBUG')) {
|
||||
$level = ['error'];
|
||||
$level = ['error', 'info', 'notice', 'warning', 'critical', 'alert', 'emergency'];
|
||||
}
|
||||
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user