Skip to content

Commit d7d7c87

Browse files
committed
Adding note.
1 parent 3cc1685 commit d7d7c87

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Illuminate/Log/LogServiceProvider.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ public function register()
2323
new Logger($this->app['env']), $this->app['events']
2424
);
2525

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.
2629
$this->app->instance('log', $logger);
2730

2831
$this->app->bind('Psr\Log\LoggerInterface', function($app)

0 commit comments

Comments
 (0)