setLogger() setLogger(\Psr\Log\LoggerInterface $logger) : mixed Sets a logger. Parameters \Psr\Log\LoggerInterface $logger Returns mixed —