original_string: public function stack(array $channels, $channel = null)
      {
          return new Logger(
              $this->createStackDriver(compact('channels', 'channel')),
              $this->app['events']
          );
      }
code: public function stack(array $channels, $channel = null)
      {
          return new Logger(
              $this->createStackDriver(compact('channels', 'channel')),
              $this->app['events']
          );
      }
code_tokens: public function stack ( array $ channels , $ channel = null ) { return new Logger ( $ this -> createStackDriver ( compact ( 'channels' , 'channel' ) ) , $ this -> app [ 'events' ] ) ; }
docstring: Create a new, on-demand aggregate logger instance.
  
  @param  array  $channels
  @param  string|null  $channel
  @return \Psr\Log\LoggerInterface
docstring_tokens: Create a new on - demand aggregate logger instance .