From 2c83fc85a2be81065be0f0edd3b82c06020884a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=80=99=E5=AD=A6=E6=9D=B0?= Date: Wed, 2 May 2018 20:59:03 +0800 Subject: [PATCH] foramt --- src/Listeners/QueryListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Listeners/QueryListener.php b/src/Listeners/QueryListener.php index 4fbf625..27c2920 100644 --- a/src/Listeners/QueryListener.php +++ b/src/Listeners/QueryListener.php @@ -37,7 +37,7 @@ class QueryListener if (env('APP_DEBUG')) { $sql = str_replace("?", "'%s'", $event->sql); $log = vsprintf($sql, $event->bindings); - $this->logger->info($log, ['conn' => $event->connectionName, 'time' => $event->time]); + $this->logger->info($log.';', ['conn' => $event->connectionName, 'time' => $event->time.'ms']); } }