From ed08fb1d6098ff326ad1bc6230090b96d5887a1c Mon Sep 17 00:00:00 2001 From: augushong Date: Mon, 22 Aug 2022 19:57:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=8E=E7=A1=AE=E6=8C=87=E5=AE=9A=E6=AD=A3?= =?UTF-8?q?=E5=BC=8F=E7=8E=AF=E5=A2=83=E7=9A=84=E6=97=A5=E5=BF=97=E7=BA=A7?= =?UTF-8?q?=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/log.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/log.php b/config/log.php index cd96b9d..4c7c168 100644 --- a/config/log.php +++ b/config/log.php @@ -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 [