Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
suhaboncukcu committed May 9, 2018
1 parent 7c68f3c commit dbd3b93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Middleware/LoggerMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit dbd3b93

Please sign in to comment.