public boolean isDelegateEventAware() {
        if (delegateEventAware != null)
            return delegateEventAware;

        try {
            logMethodCache = _delegate.getClass().getMethod("log", LoggingEvent.class);
            delegateEventAware = Boolean.TRUE;
        } catch (NoSuchMethodException e) {
            delegateEventAware = Boolean.FALSE;
        }
        return delegateEventAware;
    }
Typically called after the {@link org.slf4j.LoggerFactory} initialization phase is completed.
@param delegate
slf4j-api/src/main/java/org/slf4j/helpers/SubstituteLogger.java