setChannel() public method

Set a channel instance.
public setChannel ( string $channel, Psr\Log\LoggerInterface $logger )
$channel string
$logger Psr\Log\LoggerInterface
 /**
  * {@inheritdoc}
  */
 public function configure()
 {
     $this->channelManager->setChannel('default', $this->makeDefaultLogger());
 }