protected function isOnDemandBailOut(LogEvent $logEvent) : bool
    {
        if ($this->onDemand === true &&
            (!(array_key_exists(static::PROCESSOR_DATA_KEY, $logEvent) &&
                array_key_exists(static::PROCESSOR_KEY, $logEvent[static::PROCESSOR_DATA_KEY])))) {
            return true;
        }

        return false;
    }
protected function isOnDemandBailOut(LogEvent $logEvent) : bool
    {
        if ($this->onDemand === true &&
            (!(array_key_exists(static::PROCESSOR_DATA_KEY, $logEvent) &&
                array_key_exists(static::PROCESSOR_KEY, $logEvent[static::PROCESSOR_DATA_KEY])))) {
            return true;
        }

        return false;
    }
protected function isOnDemandBailOut ( LogEvent $ logEvent ) : bool { if ( $ this -> onDemand === true && ( ! ( array_key_exists ( static :: PROCESSOR_DATA_KEY , $ logEvent ) && array_key_exists ( static :: PROCESSOR_KEY , $ logEvent [ static :: PROCESSOR_DATA_KEY ] ) ) ) ) { return true ; } return false ; }
With on demand true and non existing key, return true to stop execution
@param LogEvent $logEvent
@return bool
With on demand true and non existing key return true to stop execution