37 if ( !$this->channels || isset( $this->channels[$channel] ) ) {
38 return new ConsoleLogger( $channel, $this->channels[$channel] ??
null,
39 $this->forwardTo ? $this->forwardTo->getLogger( $channel ) : null );
41 return $this->forwardTo ? $this->forwardTo->getLogger( $channel ) :
new NullLogger();