protected function pushProcessorsToMonolog(array $config, Monolog $driver): Monolog
    {
        $processors = $this->processors;

        if (isset($config['processors'])) {
            $processors = \array_merge($processors, $config['processors']);
        }

        foreach ($processors as $processor) {
            $driver->pushProcessor($processor);
        }

        return $driver;
    }