We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cc1685 commit d7d7c87Copy full SHA for d7d7c87
1 file changed
src/Illuminate/Log/LogServiceProvider.php
@@ -23,6 +23,9 @@ public function register()
23
new Logger($this->app['env']), $this->app['events']
24
);
25
26
+ // Once we have an instance of the logger we'll bind it as an instance into
27
+ // the container so that it is available for resolution. We'll also bind
28
+ // the PSR Logger interface to resolve to this Monolog implementation.
29
$this->app->instance('log', $logger);
30
31
$this->app->bind('Psr\Log\LoggerInterface', function($app)
0 commit comments