diff --git a/src/Illuminate/Log/LogManager.php b/src/Illuminate/Log/LogManager.php index b9514d2d1106..64dd238728e5 100644 --- a/src/Illuminate/Log/LogManager.php +++ b/src/Illuminate/Log/LogManager.php @@ -75,7 +75,7 @@ public function __construct($app) public function stack(array $channels, $channel = null) { return new Logger( - $this->createAggregateDriver(compact('channels', 'channel')), + $this->createStackDriver(compact('channels', 'channel')), $this->app['events'] ); } @@ -216,12 +216,12 @@ protected function createCustomDriver(array $config) } /** - * Create a aggregate log driver instance. + * Create an aggregate log driver instance. * * @param array $config * @return \Psr\Log\LoggerInterface */ - protected function createAggregateDriver(array $config) + protected function createStackDriver(array $config) { $handlers = collect($config['channels'])->flatMap(function ($channel) { return $this->channel($channel)->getHandlers();