public function getMonolog()
    {
        foreach ($this->loggers as $logger) {
            if (is_callable([$logger, 'getMonolog'])) {
                $monolog = $logger->getMonolog();

                if ($monolog === null) {
                    continue;
                }

                return $monolog;
            }
        }
    }