protected function createAggregateDriver(array $config): LoggerInterface
    {
        $handlers = [];

        foreach ((array) $config['channels'] as $channel) {
            foreach ($this->getDriver($channel)->getHandlers() as $handler) {
                $handlers[] = $handler;
            }
        }

        return new Monolog($this->parseChannel($config), $handlers);
    }