src/Viserio/Component/Log/LogManager.php
protected function getConfigFromName(string $name): array
    {
        $config = parent::getConfigFromName($name);

        if (isset($config['driver']) && \in_array($config['driver'], ['custom', 'monolog'], true)) {
            $config['original_name'] = $config['name'];
            $config['name']          = $config['driver'];
        }

        return $config;
    }
protected function getConfigFromName(string $name): array
    {
        $config = parent::getConfigFromName($name);

        if (isset($config['driver']) && \in_array($config['driver'], ['custom', 'monolog'], true)) {
            $config['original_name'] = $config['name'];
            $config['name']          = $config['driver'];
        }

        return $config;
    }
{@inheritdoc}