From cc88c8ca79ef4babade2a1c3b08bee9f13649ab8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 5 Mar 2021 15:01:01 +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 --- Database/Command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Database/Command.php b/Database/Command.php index 40c061ee..4008687a 100644 --- a/Database/Command.php +++ b/Database/Command.php @@ -131,7 +131,7 @@ class Command extends Component $this->prepare->closeCursor(); } - logger()->write($this->sql . var_export($this->params, true), 'mysql'); + logger()->debug($this->sql . var_export($this->params, true), 'mysql'); if (Config::get('debug.enable', false, false)) { $this->debug($this->sql . '。 Run-time: ' . (microtime(true) - $time));