src/Development/MonologServiceProvider.php
public function getLogger(ContainerInterface $container)
    {
        $logger = new Logger('logs');
        $logger->pushHandler($container->get(HandlerInterface::class));

        return $logger;
    }
public function getLogger(ContainerInterface $container)
    {
        $logger = new Logger('logs');
        $logger->pushHandler($container->get(HandlerInterface::class));

        return $logger;
    }
@param ContainerInterface $container

@return LoggerInterface