From bc884bb30e3dc12545ab63cea1f5a74b33dab59c Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 1 Mar 2019 08:17:35 -0600 Subject: [PATCH] formatting --- src/Illuminate/Log/LogManager.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Illuminate/Log/LogManager.php b/src/Illuminate/Log/LogManager.php index 29f7643daaf..d636f869f00 100644 --- a/src/Illuminate/Log/LogManager.php +++ b/src/Illuminate/Log/LogManager.php @@ -331,12 +331,11 @@ protected function createMonologDriver(array $config) } $with = array_merge( + ['level' => $this->level($config)], $config['with'] ?? [], $config['handler_with'] ?? [] ); - $with['level'] = $this->level($config); - return new Monolog($this->parseChannel($config), [$this->prepareHandler( $this->app->make($config['handler'], $with), $config )]);