public function stack(array $channels, $channel = null)
    {
        return new Logger(
            $this->createStackDriver(compact('channels', 'channel')),
            $this->app['events']
        );
    }
public function stack(array $channels, $channel = null)
    {
        return new Logger(
            $this->createStackDriver(compact('channels', 'channel')),
            $this->app['events']
        );
    }
public function stack ( array $ channels , $ channel = null ) { return new Logger ( $ this -> createStackDriver ( compact ( 'channels' , 'channel' ) ) , $ this -> app [ 'events' ] ) ; }
Create a new, on-demand aggregate logger instance.

@param  array  $channels
@param  string|null  $channel
@return \Psr\Log\LoggerInterface
Create a new on - demand aggregate logger instance .