明确指定正式环境的日志级别

This commit is contained in:
augushong
2022-08-22 19:57:30 +08:00
parent a835c65724
commit ed08fb1d60

View File

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