From 76fa5b89c964668d79803cedf015de6801dab0c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 12 Aug 2021 17:21:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Error/Logger.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/System/Error/Logger.php b/System/Error/Logger.php index 7894fc32..637629a5 100644 --- a/System/Error/Logger.php +++ b/System/Error/Logger.php @@ -142,17 +142,16 @@ class Logger extends Component /** * @param $message * @param string $method - * @throws ConfigException */ public function output($message, string $method = 'default') { - if ($method !== 'error' && - Config::get('environment', 'pro') == 'pro') { - return; - } - if (str_contains($message, 'Event::rshutdown(): Event::wait()')) { - return; - } +// if ($method !== 'error' && +// Config::get('environment', 'pro') == 'pro') { +// return; +// } +// if (str_contains($message, 'Event::rshutdown(): Event::wait()')) { +// return; +// } echo $message; }