Class HybrisLog4j2Logger

java.lang.Object
org.apache.logging.log4j.spi.AbstractLogger
org.apache.logging.log4j.core.Logger
de.hybris.platform.util.logging.log4j2.HybrisLog4j2Logger
All Implemented Interfaces:
Serializable, org.apache.logging.log4j.Logger, org.apache.logging.log4j.spi.ExtendedLogger, org.apache.logging.log4j.spi.LocationAwareLogger, org.apache.logging.log4j.util.Supplier<org.apache.logging.log4j.core.config.LoggerConfig>

public class HybrisLog4j2Logger extends org.apache.logging.log4j.core.Logger
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.logging.log4j.core.Logger

    org.apache.logging.log4j.core.Logger.LoggerProxy, org.apache.logging.log4j.core.Logger.PrivateConfig
  • Field Summary

    Fields inherited from class org.apache.logging.log4j.core.Logger

    privateConfig

    Fields inherited from class org.apache.logging.log4j.spi.AbstractLogger

    CATCHING_MARKER, DEFAULT_FLOW_MESSAGE_FACTORY_CLASS, DEFAULT_MESSAGE_FACTORY_CLASS, ENTRY_MARKER, EXCEPTION_MARKER, EXIT_MARKER, FLOW_MARKER, logBuilder, name, THROWING_MARKER
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    HybrisLog4j2Logger(org.apache.logging.log4j.core.LoggerContext context, String name, org.apache.logging.log4j.message.MessageFactory messageFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    log(org.apache.logging.log4j.Level level, org.apache.logging.log4j.Marker marker, String fqcn, StackTraceElement location, org.apache.logging.log4j.message.Message message, Throwable throwable)
     
    void
    logMessage(String fqcn, org.apache.logging.log4j.Level level, org.apache.logging.log4j.Marker marker, org.apache.logging.log4j.message.Message message, Throwable t)
     
    static org.apache.logging.log4j.Level
    mapV1ToV2Level(org.apache.log4j.Level level)
     
    static org.apache.log4j.Level
    mapV2ToV1Level(org.apache.logging.log4j.Level level)
     

    Methods inherited from class org.apache.logging.log4j.core.Logger

    addAppender, addFilter, equals, filterCount, get, getAppenders, getContext, getFilters, getLevel, getParent, hashCode, isAdditive, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, removeAppender, requiresLocation, setAdditive, setLevel, toString, updateConfiguration, writeReplace

    Methods inherited from class org.apache.logging.log4j.spi.AbstractLogger

    always, atDebug, atError, atFatal, atInfo, atLevel, atTrace, atWarn, catching, catching, catching, catchingMsg, checkMessageFactory, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, enter, enter, enter, enter, enter, entry, entry, entry, entryMsg, entryMsg, entryMsg, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, exit, exit, exit, exit, exitMsg, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, getMessageFactory, getName, getRecursionDepth, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, isDebugEnabled, isDebugEnabled, isEnabled, isEnabled, isErrorEnabled, isErrorEnabled, isFatalEnabled, isFatalEnabled, isInfoEnabled, isInfoEnabled, isTraceEnabled, isTraceEnabled, isWarnEnabled, isWarnEnabled, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, logIfEnabled, logIfEnabled, logIfEnabled, logIfEnabled, logIfEnabled, logIfEnabled, logIfEnabled, logIfEnabled, logIfEnabled, logIfEnabled, logIfEnabled, logIfEnabled, logIfEnabled, logIfEnabled, logIfEnabled, logIfEnabled, logIfEnabled, logIfEnabled, logIfEnabled, logMessage, logMessage, logMessage, logMessage, logMessage, logMessage, logMessage, logMessage, logMessage, logMessage, logMessage, logMessage, logMessage, logMessage, logMessage, logMessage, logMessage, logMessage, logMessage, printf, printf, throwing, throwing, throwing, throwingMsg, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, traceEntry, traceEntry, traceEntry, traceEntry, traceEntry, traceExit, traceExit, traceExit, traceExit, traceExit, traceExit, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • HybrisLog4j2Logger

      protected HybrisLog4j2Logger(org.apache.logging.log4j.core.LoggerContext context, String name, org.apache.logging.log4j.message.MessageFactory messageFactory)
  • Method Details

    • logMessage

      public void logMessage(String fqcn, org.apache.logging.log4j.Level level, org.apache.logging.log4j.Marker marker, org.apache.logging.log4j.message.Message message, Throwable t)
      Specified by:
      logMessage in interface org.apache.logging.log4j.spi.ExtendedLogger
      Overrides:
      logMessage in class org.apache.logging.log4j.core.Logger
    • log

      protected void log(org.apache.logging.log4j.Level level, org.apache.logging.log4j.Marker marker, String fqcn, StackTraceElement location, org.apache.logging.log4j.message.Message message, Throwable throwable)
      Overrides:
      log in class org.apache.logging.log4j.core.Logger
    • mapV2ToV1Level

      public static org.apache.log4j.Level mapV2ToV1Level(org.apache.logging.log4j.Level level)
    • mapV1ToV2Level

      public static org.apache.logging.log4j.Level mapV1ToV2Level(org.apache.log4j.Level level)