private function getDebugLogger(): ?DebugProcessor
    {
        foreach ($this->logger->getProcessors() as $processor) {
            if ($processor instanceof DebugProcessor) {
                return $processor;
            }
        }

        return null;
    }
private function getDebugLogger(): ?DebugProcessor
    {
        foreach ($this->logger->getProcessors() as $processor) {
            if ($processor instanceof DebugProcessor) {
                return $processor;
            }
        }

        return null;
    }
private function getDebugLogger ( ) : ? DebugProcessor { foreach ( $ this -> logger -> getProcessors ( ) as $ processor ) { if ( $ processor instanceof DebugProcessor ) { return $ processor ; } } return null ; }
Returns a DebugProcessor instance if one is registered with this logger.

@return null|\Viserio\Bridge\Monolog\Processor\DebugProcessor
Returns a DebugProcessor instance if one is registered with this logger .