Interface Log4JLogBridge

  • All Known Implementing Classes:
    Log4JLogBridgeImpl

    @Deprecated
    public interface Log4JLogBridge
    Deprecated.
    Contract for translating an ESAPI log event into an Log4J log event.
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      void log​(org.apache.log4j.Logger logger, int esapiLevel, Logger.EventType type, java.lang.String message)
      Deprecated.
      Translation for the provided ESAPI level, type, and message to the specified Log4J Logger.
      void log​(org.apache.log4j.Logger logger, int esapiLevel, Logger.EventType type, java.lang.String message, java.lang.Throwable throwable)
      Deprecated.
      Translation for the provided ESAPI level, type, message, and Throwable to the specified Log4J Logger.
    • Method Detail

      • log

        void log​(org.apache.log4j.Logger logger,
                 int esapiLevel,
                 Logger.EventType type,
                 java.lang.String message)
        Deprecated.
        Translation for the provided ESAPI level, type, and message to the specified Log4J Logger.
        Parameters:
        logger - Logger to receive the translated message.
        esapiLevel - ESAPI level of event.
        type - ESAPI event type
        message - ESAPI event message content.
      • log

        void log​(org.apache.log4j.Logger logger,
                 int esapiLevel,
                 Logger.EventType type,
                 java.lang.String message,
                 java.lang.Throwable throwable)
        Deprecated.
        Translation for the provided ESAPI level, type, message, and Throwable to the specified Log4J Logger.
        Parameters:
        logger - Logger to receive the translated message.
        esapiLevel - ESAPI level of event.
        type - ESAPI event type
        message - ESAPI event message content.
        throwable - ESAPI event Throwable content