Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jan 27, 2018
1 parent 497a907 commit 2088ce2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Illuminate/Log/LogManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ class LogManager implements LoggerInterface
protected $app;

/**
* The array of resolved logs.
* The array of resolved channels.
*
* @var array
*/
protected $logs = [];
protected $channels = [];

/**
* The registered custom driver creators.
Expand Down Expand Up @@ -112,7 +112,7 @@ public function driver($driver = null)
protected function get($name)
{
try {
return $this->stores[$name] ?? with($this->resolve($name), function ($logger) use ($name) {
return $this->channels[$name] ?? with($this->resolve($name), function ($logger) use ($name) {
return $this->tap($name, new Logger($logger, $this->app['events']));
});
} catch (Throwable $e) {
Expand Down

0 comments on commit 2088ce2

Please sign in to comment.