private function getDebugLogger()
    {
        foreach ($this->processors as $processor) {
            if ($processor instanceof DebugLoggerInterface) {
                return $processor;
            }
        }

        foreach ($this->handlers as $handler) {
            if ($handler instanceof DebugLoggerInterface) {
                return $handler;
            }
        }
    }
private function getDebugLogger()
    {
        foreach ($this->processors as $processor) {
            if ($processor instanceof DebugLoggerInterface) {
                return $processor;
            }
        }

        foreach ($this->handlers as $handler) {
            if ($handler instanceof DebugLoggerInterface) {
                return $handler;
            }
        }
    }
private function getDebugLogger ( ) { foreach ( $ this -> processors as $ processor ) { if ( $ processor instanceof DebugLoggerInterface ) { return $ processor ; } } foreach ( $ this -> handlers as $ handler ) { if ( $ handler instanceof DebugLoggerInterface ) { return $ handler ; } } }
Returns a DebugLoggerInterface instance if one is registered with this logger.

@return DebugLoggerInterface|null A DebugLoggerInterface instance or null if none is registered
Returns a DebugLoggerInterface instance if one is registered with this logger .