Class Log4J2DelegatingLogger

  • All Implemented Interfaces:
    Serializable, org.jboss.logging.BasicLogger

    public final class Log4J2DelegatingLogger
    extends org.jboss.logging.Logger
    A Logger implementation which delegates to Log4J2 but makes it possible to test for events being logged (not logged).
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.jboss.logging.Logger

        org.jboss.logging.Logger.Level
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doLog​(org.jboss.logging.Logger.Level level, String loggerClassName, Object message, Object[] parameters, Throwable thrown)  
      protected void doLogf​(org.jboss.logging.Logger.Level level, String loggerClassName, String format, Object[] parameters, Throwable thrown)  
      boolean isEnabled​(org.jboss.logging.Logger.Level level)  
      • Methods inherited from class org.jboss.logging.Logger

        debug, debug, debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, getLogger, getLogger, getLogger, getLogger, getMessageLogger, getMessageLogger, getName, info, info, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnv, writeReplace
    • Method Detail

      • isEnabled

        public boolean isEnabled​(org.jboss.logging.Logger.Level level)
      • doLog

        protected void doLog​(org.jboss.logging.Logger.Level level,
                             String loggerClassName,
                             Object message,
                             Object[] parameters,
                             Throwable thrown)
        Specified by:
        doLog in class org.jboss.logging.Logger
      • doLogf

        protected void doLogf​(org.jboss.logging.Logger.Level level,
                              String loggerClassName,
                              String format,
                              Object[] parameters,
                              Throwable thrown)
        Specified by:
        doLogf in class org.jboss.logging.Logger