23use Psr\Log\LoggerInterface;
54 if ( !isset( $this->singletons[$channel] ) ) {
55 $this->singletons[$channel] =
new LegacyLogger( $channel );
57 return $this->singletons[$channel];
67 $ret = $this->singletons[$channel] ??
null;
68 $this->singletons[$channel] = $logger;