From dbd3b931d6f3df39a28190c6dbabe4d2ac60b2fe Mon Sep 17 00:00:00 2001 From: suhaboncukcu Date: Wed, 9 May 2018 10:35:18 +0300 Subject: [PATCH] fix typo --- src/Middleware/LoggerMiddleware.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Middleware/LoggerMiddleware.php b/src/Middleware/LoggerMiddleware.php index bec46f8..c80949e 100644 --- a/src/Middleware/LoggerMiddleware.php +++ b/src/Middleware/LoggerMiddleware.php @@ -64,8 +64,8 @@ public function __invoke($request, $response, $next) $message = json_encode($messageLoad); //drop current logs. - $debug = Log::getConfig(['debug']); - $error = Log::getConfig(['error']); + $debug = Log::getConfig('debug'); + $error = Log::getConfig('error'); Log::drop('debug'); Log::drop('error');