src/Viserio/Component/Log/LogManager.php
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);
    }
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);
    }
Create a aggregate log driver instance.

@param array $config

@return \Psr\Log\LoggerInterface