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