src/Viserio/Component/Log/Provider/LoggerServiceProvider.php
public function getFactories(): array
    {
        return [
            LogManager::class => [self::class, 'createLogManger'],
            'log'             => static function (ContainerInterface $container) {
                return $container->get(LogManager::class);
            },
            LoggerInterface::class => static function (ContainerInterface $container) {
                return $container->get(LogManager::class)->getDriver();
            },
        ];
    }
public function getFactories(): array
    {
        return [
            LogManager::class => [self::class, 'createLogManger'],
            'log'             => static function (ContainerInterface $container) {
                return $container->get(LogManager::class);
            },
            LoggerInterface::class => static function (ContainerInterface $container) {
                return $container->get(LogManager::class)->getDriver();
            },
        ];
    }
{@inheritdoc}