Class AbstractLogger

java.lang.Object
org.apache.logging.log4j.spi.AbstractLogger
All Implemented Interfaces:
Serializable, Logger, ExtendedLogger, LocationAwareLogger
Direct Known Subclasses:
ExtendedLoggerWrapper, SimpleLogger, StatusLogger

public abstract class AbstractLogger extends Object implements ExtendedLogger, LocationAwareLogger, Serializable
Base implementation of a Logger. It is highly recommended that any Logger implementation extend this class.
See Also:
  • Field Details

    • FLOW_MARKER

      public static final Marker FLOW_MARKER
      Marker for flow tracing.
    • ENTRY_MARKER

      public static final Marker ENTRY_MARKER
      Marker for method entry tracing.
    • EXIT_MARKER

      public static final Marker EXIT_MARKER
      Marker for method exit tracing.
    • EXCEPTION_MARKER

      public static final Marker EXCEPTION_MARKER
      Marker for exception tracing.
    • THROWING_MARKER

      public static final Marker THROWING_MARKER
      Marker for throwing exceptions.
    • CATCHING_MARKER

      public static final Marker CATCHING_MARKER
      Marker for catching exceptions.
    • DEFAULT_MESSAGE_FACTORY_CLASS

      public static final Class<? extends MessageFactory> DEFAULT_MESSAGE_FACTORY_CLASS
      The default MessageFactory class.
    • DEFAULT_FLOW_MESSAGE_FACTORY_CLASS

      public static final Class<? extends FlowMessageFactory> DEFAULT_FLOW_MESSAGE_FACTORY_CLASS
      The default FlowMessageFactory class.
    • name

      protected final String name
  • Constructor Details

    • AbstractLogger

      public AbstractLogger()
      Creates a new logger named after this class (or subclass).
    • AbstractLogger

      public AbstractLogger(String name)
      Creates a new named logger.
      Parameters:
      name - the logger name
    • AbstractLogger

      public AbstractLogger(String name, MessageFactory messageFactory)
      Creates a new named logger with a particular MessageFactory.
      Parameters:
      name - the logger name
      messageFactory - the message factory, if null then use the default message factory.
  • Method Details

    • checkMessageFactory

      public static void checkMessageFactory(ExtendedLogger logger, MessageFactory messageFactory)
      Checks that the message factory a logger was created with is the same as the given messageFactory. If they are different log a warning to the StatusLogger. A null MessageFactory translates to the default MessageFactory DEFAULT_MESSAGE_FACTORY_CLASS.
      Parameters:
      logger - The logger to check
      messageFactory - The message factory to check.
    • catching

      public void catching(Level level, Throwable throwable)
      Description copied from interface: Logger
      Logs a Throwable that has been caught to a specific logging level.
      Specified by:
      catching in interface Logger
      Parameters:
      level - The logging Level.
      throwable - the Throwable.
    • catching

      protected void catching(String fqcn, Level level, Throwable throwable)
      Logs a Throwable that has been caught with location information.
      Parameters:
      fqcn - The fully qualified class name of the caller.
      level - The logging level.
      throwable - The Throwable.
    • catching

      public void catching(Throwable throwable)
      Description copied from interface: Logger
      Logs a Throwable that has been caught at the ERROR level. Normally, one may wish to provide additional information with an exception while logging it; in these cases, one would not use this method. In other cases where simply logging the fact that an exception was swallowed somewhere (e.g., at the top of the stack trace in a main() method), this method is ideal for it.
      Specified by:
      catching in interface Logger
      Parameters:
      throwable - the Throwable.
    • catchingMsg

      protected Message catchingMsg(Throwable throwable)
    • debug

      public void debug(Marker marker, CharSequence message)
      Description copied from interface: Logger
      Logs a message CharSequence with the DEBUG level.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message CharSequence to log.
    • debug

      public void debug(Marker marker, CharSequence message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message CharSequence at the DEBUG level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message CharSequence to log.
      throwable - the Throwable to log, including its stack trace.
    • debug

      public void debug(Marker marker, Message message)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the DEBUG level.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message string to be logged
    • debug

      public void debug(Marker marker, Message message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the DEBUG level.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message string to be logged
      throwable - A Throwable or null.
    • debug

      public void debug(Marker marker, Object message)
      Description copied from interface: Logger
      Logs a message object with the DEBUG level.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message object to log.
    • debug

      public void debug(Marker marker, Object message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the DEBUG level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log.
      throwable - the Throwable to log, including its stack trace.
    • debug

      public void debug(Marker marker, String message)
      Description copied from interface: Logger
      Logs a message object with the DEBUG level.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message object to log.
    • debug

      public void debug(Marker marker, String message, Object... params)
      Description copied from interface: Logger
      Logs a message with parameters at the DEBUG level.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      params - parameters to the message.
      See Also:
    • debug

      public void debug(Marker marker, String message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the DEBUG level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log.
      throwable - the Throwable to log, including its stack trace.
    • debug

      public void debug(Message message)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the DEBUG level.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message string to be logged
    • debug

      public void debug(Message message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the DEBUG level.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message string to be logged
      throwable - A Throwable or null.
    • debug

      public void debug(CharSequence message)
      Description copied from interface: Logger
      Logs a message CharSequence with the DEBUG level.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message object to log.
    • debug

      public void debug(CharSequence message, Throwable throwable)
      Description copied from interface: Logger
      Logs a CharSequence at the DEBUG level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message CharSequence to log.
      throwable - the Throwable to log, including its stack trace.
    • debug

      public void debug(Object message)
      Description copied from interface: Logger
      Logs a message object with the DEBUG level.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message object to log.
    • debug

      public void debug(Object message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the DEBUG level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message to log.
      throwable - the Throwable to log, including its stack trace.
    • debug

      public void debug(String message)
      Description copied from interface: Logger
      Logs a message object with the DEBUG level.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message string to log.
    • debug

      public void debug(String message, Object... params)
      Description copied from interface: Logger
      Logs a message with parameters at the DEBUG level.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      params - parameters to the message.
      See Also:
    • debug

      public void debug(String message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the DEBUG level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message to log.
      throwable - the Throwable to log, including its stack trace.
    • debug

      public void debug(Supplier<?> messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the DEBUG level.
      Specified by:
      debug in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
    • debug

      public void debug(Supplier<?> messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the DEBUG level) including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      debug in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
      throwable - the Throwable to log, including its stack trace.
    • debug

      public void debug(Marker marker, Supplier<?> messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the DEBUG level with the specified Marker.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
    • debug

      public void debug(Marker marker, String message, Supplier<?>... paramSuppliers)
      Description copied from interface: Logger
      Logs a message with parameters which are only to be constructed if the logging level is the DEBUG level.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      paramSuppliers - An array of functions, which when called, produce the desired log message parameters.
    • debug

      public void debug(Marker marker, Supplier<?> messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the DEBUG level) with the specified Marker and including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
      throwable - A Throwable or null.
    • debug

      public void debug(String message, Supplier<?>... paramSuppliers)
      Description copied from interface: Logger
      Logs a message with parameters which are only to be constructed if the logging level is the DEBUG level.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      paramSuppliers - An array of functions, which when called, produce the desired log message parameters.
    • debug

      public void debug(Marker marker, MessageSupplier messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the DEBUG level with the specified Marker. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message.
    • debug

      public void debug(Marker marker, MessageSupplier messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the DEBUG level) with the specified Marker and including the stack trace of the Throwable throwable passed as parameter. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message.
      throwable - A Throwable or null.
    • debug

      public void debug(MessageSupplier messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the DEBUG level. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      debug in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message.
    • debug

      public void debug(MessageSupplier messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the DEBUG level) including the stack trace of the Throwable throwable passed as parameter. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      debug in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message.
      throwable - the Throwable to log, including its stack trace.
    • debug

      public void debug(Marker marker, String message, Object p0)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
    • debug

      public void debug(Marker marker, String message, Object p0, Object p1)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
    • debug

      public void debug(Marker marker, String message, Object p0, Object p1, Object p2)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
    • debug

      public void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
    • debug

      public void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
    • debug

      public void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
    • debug

      public void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
    • debug

      public void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
    • debug

      public void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
    • debug

      public void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
      p9 - parameter to the message.
    • debug

      public void debug(String message, Object p0)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
    • debug

      public void debug(String message, Object p0, Object p1)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
    • debug

      public void debug(String message, Object p0, Object p1, Object p2)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
    • debug

      public void debug(String message, Object p0, Object p1, Object p2, Object p3)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
    • debug

      public void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
    • debug

      public void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
    • debug

      public void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
    • debug

      public void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
    • debug

      public void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
    • debug

      public void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
      Description copied from interface: Logger
      Logs a message with parameters at debug level.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
      p9 - parameter to the message.
    • enter

      protected EntryMessage enter(String fqcn, String format, Supplier<?>... paramSuppliers)
      Logs entry to a method with location information.
      Parameters:
      fqcn - The fully qualified class name of the caller.
      format - Format String for the parameters.
      paramSuppliers - The Suppliers of the parameters.
    • enter

      @Deprecated protected EntryMessage enter(String fqcn, String format, MessageSupplier... paramSuppliers)
      Deprecated.
      Logs entry to a method with location information.
      Parameters:
      fqcn - The fully qualified class name of the caller.
      format - The format String for the parameters.
      paramSuppliers - The parameters to the method.
    • enter

      protected EntryMessage enter(String fqcn, String format, Object... params)
      Logs entry to a method with location information.
      Parameters:
      fqcn - The fully qualified class name of the caller.
      format - The format String for the parameters.
      params - The parameters to the method.
    • enter

      @Deprecated protected EntryMessage enter(String fqcn, MessageSupplier messageSupplier)
      Deprecated.
      Logs entry to a method with location information.
      Parameters:
      fqcn - The fully qualified class name of the caller.
      messageSupplier - The Supplier of the Message.
    • enter

      protected EntryMessage enter(String fqcn, Message message)
      Logs entry to a method with location information.
      Parameters:
      fqcn - The fully qualified class name of the caller.
      message - the Message.
      Since:
      2.6
    • entry

      @Deprecated public void entry()
      Deprecated.
      Description copied from interface: Logger
      Logs entry to a method. Used when the method in question has no parameters or when the parameters should not be logged.
      Specified by:
      entry in interface Logger
    • entry

      @Deprecated public void entry(Object... params)
      Deprecated.
      Description copied from interface: Logger
      Logs entry to a method along with its parameters (consider using one of the traceEntry(...) methods instead.)

      For example:

       public void doSomething(String foo, int bar) {
           LOGGER.entry(foo, bar);
           // do something
       }
       

      The use of methods such as this are more effective when combined with aspect-oriented programming or other bytecode manipulation tools. It can be rather tedious (and messy) to use this type of method manually.

      Specified by:
      entry in interface Logger
      Parameters:
      params - The parameters to the method.
    • entry

      protected void entry(String fqcn, Object... params)
      Logs entry to a method with location information.
      Parameters:
      fqcn - The fully qualified class name of the caller.
      params - The parameters to the method.
    • entryMsg

      protected EntryMessage entryMsg(String format, Object... params)
    • entryMsg

      protected EntryMessage entryMsg(String format, MessageSupplier... paramSuppliers)
    • entryMsg

      protected EntryMessage entryMsg(String format, Supplier<?>... paramSuppliers)
    • error

      public void error(Marker marker, Message message)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the ERROR level.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message string to be logged
    • error

      public void error(Marker marker, Message message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the ERROR level.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message string to be logged
      throwable - A Throwable or null.
    • error

      public void error(Marker marker, CharSequence message)
      Description copied from interface: Logger
      Logs a message CharSequence with the ERROR level.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message CharSequence to log.
    • error

      public void error(Marker marker, CharSequence message, Throwable throwable)
      Description copied from interface: Logger
      Logs a CharSequence at the ERROR level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message CharSequence to log.
      throwable - the Throwable to log, including its stack trace.
    • error

      public void error(Marker marker, Object message)
      Description copied from interface: Logger
      Logs a message object with the ERROR level.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message object to log.
    • error

      public void error(Marker marker, Object message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the ERROR level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
    • error

      public void error(Marker marker, String message)
      Description copied from interface: Logger
      Logs a message object with the ERROR level.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message object to log.
    • error

      public void error(Marker marker, String message, Object... params)
      Description copied from interface: Logger
      Logs a message with parameters at the ERROR level.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message to log; the format depends on the message factory.
      params - parameters to the message.
      See Also:
    • error

      public void error(Marker marker, String message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the ERROR level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
    • error

      public void error(Message message)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the ERROR level.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message string to be logged
    • error

      public void error(Message message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the ERROR level.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message string to be logged
      throwable - A Throwable or null.
    • error

      public void error(CharSequence message)
      Description copied from interface: Logger
      Logs a message CharSequence with the ERROR level.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message CharSequence to log.
    • error

      public void error(CharSequence message, Throwable throwable)
      Description copied from interface: Logger
      Logs a CharSequence at the ERROR level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message CharSequence to log.
      throwable - the Throwable to log, including its stack trace.
    • error

      public void error(Object message)
      Description copied from interface: Logger
      Logs a message object with the ERROR level.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message object to log.
    • error

      public void error(Object message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the ERROR level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
    • error

      public void error(String message)
      Description copied from interface: Logger
      Logs a message object with the ERROR level.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message string to log.
    • error

      public void error(String message, Object... params)
      Description copied from interface: Logger
      Logs a message with parameters at the ERROR level.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      params - parameters to the message.
      See Also:
    • error

      public void error(String message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the ERROR level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
    • error

      public void error(Supplier<?> messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the ERROR level.
      Specified by:
      error in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
    • error

      public void error(Supplier<?> messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the ERROR level) including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      error in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
      throwable - the Throwable to log, including its stack trace.
    • error

      public void error(Marker marker, Supplier<?> messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the ERROR level with the specified Marker.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
    • error

      public void error(Marker marker, String message, Supplier<?>... paramSuppliers)
      Description copied from interface: Logger
      Logs a message with parameters which are only to be constructed if the logging level is the ERROR level.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      paramSuppliers - An array of functions, which when called, produce the desired log message parameters.
    • error

      public void error(Marker marker, Supplier<?> messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the ERROR level) with the specified Marker and including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
      throwable - A Throwable or null.
    • error

      public void error(String message, Supplier<?>... paramSuppliers)
      Description copied from interface: Logger
      Logs a message with parameters which are only to be constructed if the logging level is the ERROR level.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      paramSuppliers - An array of functions, which when called, produce the desired log message parameters.
    • error

      public void error(Marker marker, MessageSupplier messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the ERROR level with the specified Marker. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message.
    • error

      public void error(Marker marker, MessageSupplier messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the ERROR level) with the specified Marker and including the stack trace of the Throwable throwable passed as parameter. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message.
      throwable - A Throwable or null.
    • error

      public void error(MessageSupplier messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the ERROR level. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      error in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message.
    • error

      public void error(MessageSupplier messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the ERROR level) including the stack trace of the Throwable throwable passed as parameter. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      error in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message.
      throwable - the Throwable to log, including its stack trace.
    • error

      public void error(Marker marker, String message, Object p0)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
    • error

      public void error(Marker marker, String message, Object p0, Object p1)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
    • error

      public void error(Marker marker, String message, Object p0, Object p1, Object p2)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
    • error

      public void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
    • error

      public void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
    • error

      public void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
    • error

      public void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
    • error

      public void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
    • error

      public void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
    • error

      public void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
      p9 - parameter to the message.
    • error

      public void error(String message, Object p0)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
    • error

      public void error(String message, Object p0, Object p1)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
    • error

      public void error(String message, Object p0, Object p1, Object p2)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
    • error

      public void error(String message, Object p0, Object p1, Object p2, Object p3)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
    • error

      public void error(String message, Object p0, Object p1, Object p2, Object p3, Object p4)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
    • error

      public void error(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
    • error

      public void error(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
    • error

      public void error(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
    • error

      public void error(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
    • error

      public void error(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
      Description copied from interface: Logger
      Logs a message with parameters at error level.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
      p9 - parameter to the message.
    • exit

      @Deprecated public void exit()
      Deprecated.
      Description copied from interface: Logger
      Logs exit from a method. Used for methods that do not return anything.
      Specified by:
      exit in interface Logger
    • exit

      @Deprecated public <R> R exit(R result)
      Deprecated.
      Description copied from interface: Logger
      Logs exiting from a method with the result. This may be coded as:
       return LOGGER.exit(myResult);
       
      Specified by:
      exit in interface Logger
      Type Parameters:
      R - The type of the parameter and object being returned.
      Parameters:
      result - The result being returned from the method call.
      Returns:
      the result.
    • exit

      protected <R> R exit(String fqcn, R result)
      Logs exiting from a method with the result and location information.
      Type Parameters:
      R - The type of the parameter and object being returned.
      Parameters:
      fqcn - The fully qualified class name of the caller.
      result - The result being returned from the method call.
      Returns:
      the return value passed to this method.
    • exit

      protected <R> R exit(String fqcn, String format, R result)
      Logs exiting from a method with the result and location information.
      Type Parameters:
      R - The type of the parameter and object being returned.
      Parameters:
      fqcn - The fully qualified class name of the caller.
      result - The result being returned from the method call.
      Returns:
      the return value passed to this method.
    • exitMsg

      protected Message exitMsg(String format, Object result)
    • fatal

      public void fatal(Marker marker, Message message)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the FATAL level.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message string to be logged
    • fatal

      public void fatal(Marker marker, Message message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the FATAL level.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message string to be logged
      throwable - A Throwable or null.
    • fatal

      public void fatal(Marker marker, CharSequence message)
      Description copied from interface: Logger
      Logs a message CharSequence with the FATAL level.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - The marker data specific to this log statement.
      message - the message CharSequence to log.
    • fatal

      public void fatal(Marker marker, CharSequence message, Throwable throwable)
      Description copied from interface: Logger
      Logs a CharSequence at the FATAL level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - The marker data specific to this log statement.
      message - the message CharSequence to log.
      throwable - the Throwable to log, including its stack trace.
    • fatal

      public void fatal(Marker marker, Object message)
      Description copied from interface: Logger
      Logs a message object with the FATAL level.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - The marker data specific to this log statement.
      message - the message object to log.
    • fatal

      public void fatal(Marker marker, Object message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the FATAL level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - The marker data specific to this log statement.
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
    • fatal

      public void fatal(Marker marker, String message)
      Description copied from interface: Logger
      Logs a message object with the FATAL level.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - The marker data specific to this log statement.
      message - the message object to log.
    • fatal

      public void fatal(Marker marker, String message, Object... params)
      Description copied from interface: Logger
      Logs a message with parameters at the FATAL level.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - The marker data specific to this log statement.
      message - the message to log; the format depends on the message factory.
      params - parameters to the message.
      See Also:
    • fatal

      public void fatal(Marker marker, String message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the FATAL level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - The marker data specific to this log statement.
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
    • fatal

      public void fatal(Message message)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the FATAL level.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message string to be logged
    • fatal

      public void fatal(Message message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the FATAL level.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message string to be logged
      throwable - A Throwable or null.
    • fatal

      public void fatal(CharSequence message)
      Description copied from interface: Logger
      Logs a message CharSequence with the FATAL level.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message CharSequence to log.
    • fatal

      public void fatal(CharSequence message, Throwable throwable)
      Description copied from interface: Logger
      Logs a CharSequence at the FATAL level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message CharSequence to log.
      throwable - the Throwable to log, including its stack trace.
    • fatal

      public void fatal(Object message)
      Description copied from interface: Logger
      Logs a message object with the FATAL level.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message object to log.
    • fatal

      public void fatal(Object message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the FATAL level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
    • fatal

      public void fatal(String message)
      Description copied from interface: Logger
      Logs a message object with the FATAL level.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message string to log.
    • fatal

      public void fatal(String message, Object... params)
      Description copied from interface: Logger
      Logs a message with parameters at the FATAL level.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      params - parameters to the message.
      See Also:
    • fatal

      public void fatal(String message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the FATAL level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
    • fatal

      public void fatal(Supplier<?> messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the FATAL level.
      Specified by:
      fatal in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
    • fatal

      public void fatal(Supplier<?> messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the FATAL level) including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      fatal in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
      throwable - the Throwable to log, including its stack trace.
    • fatal

      public void fatal(Marker marker, Supplier<?> messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the FATAL level with the specified Marker.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
    • fatal

      public void fatal(Marker marker, String message, Supplier<?>... paramSuppliers)
      Description copied from interface: Logger
      Logs a message with parameters which are only to be constructed if the logging level is the FATAL level.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      paramSuppliers - An array of functions, which when called, produce the desired log message parameters.
    • fatal

      public void fatal(Marker marker, Supplier<?> messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the FATAL level) with the specified Marker and including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
      throwable - A Throwable or null.
    • fatal

      public void fatal(String message, Supplier<?>... paramSuppliers)
      Description copied from interface: Logger
      Logs a message with parameters which are only to be constructed if the logging level is the FATAL level.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      paramSuppliers - An array of functions, which when called, produce the desired log message parameters.
    • fatal

      public void fatal(Marker marker, MessageSupplier messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the FATAL level with the specified Marker. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message.
    • fatal

      public void fatal(Marker marker, MessageSupplier messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the FATAL level) with the specified Marker and including the stack trace of the Throwable throwable passed as parameter. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message.
      throwable - A Throwable or null.
    • fatal

      public void fatal(MessageSupplier messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the FATAL level. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      fatal in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message.
    • fatal

      public void fatal(MessageSupplier messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the FATAL level) including the stack trace of the Throwable throwable passed as parameter. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      fatal in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message.
      throwable - the Throwable to log, including its stack trace.
    • fatal

      public void fatal(Marker marker, String message, Object p0)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
    • fatal

      public void fatal(Marker marker, String message, Object p0, Object p1)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
    • fatal

      public void fatal(Marker marker, String message, Object p0, Object p1, Object p2)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
    • fatal

      public void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
    • fatal

      public void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
    • fatal

      public void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
    • fatal

      public void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
    • fatal

      public void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
    • fatal

      public void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
    • fatal

      public void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
      p9 - parameter to the message.
    • fatal

      public void fatal(String message, Object p0)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
    • fatal

      public void fatal(String message, Object p0, Object p1)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
    • fatal

      public void fatal(String message, Object p0, Object p1, Object p2)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
    • fatal

      public void fatal(String message, Object p0, Object p1, Object p2, Object p3)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
    • fatal

      public void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
    • fatal

      public void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
    • fatal

      public void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
    • fatal

      public void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
    • fatal

      public void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
    • fatal

      public void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
      Description copied from interface: Logger
      Logs a message with parameters at fatal level.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
      p9 - parameter to the message.
    • getMessageFactory

      public <MF extends MessageFactory> MF getMessageFactory()
      Description copied from interface: Logger
      Gets the message factory used to convert message Objects and Strings/CharSequences into actual log Messages. Since version 2.6, Log4j internally uses message factories that implement the MessageFactory2 interface. From version 2.6.2, the return type of this method was changed from MessageFactory to <MF extends MessageFactory> MF. The returned factory will always implement MessageFactory2, but the return type of this method could not be changed to MessageFactory2 without breaking binary compatibility.
      Specified by:
      getMessageFactory in interface Logger
      Returns:
      the message factory, as an instance of MessageFactory2
    • getFlowMessageFactory

      public FlowMessageFactory getFlowMessageFactory()
      Description copied from interface: Logger
      Gets the flow message factory used to convert messages into flow messages.
      Specified by:
      getFlowMessageFactory in interface Logger
      Returns:
      the flow message factory, as an instance of FlowMessageFactory.
    • getName

      public String getName()
      Description copied from interface: Logger
      Gets the logger name.
      Specified by:
      getName in interface Logger
      Returns:
      the logger name.
    • info

      public void info(Marker marker, Message message)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the INFO level.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message string to be logged
    • info

      public void info(Marker marker, Message message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the INFO level.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message string to be logged
      throwable - A Throwable or null.
    • info

      public void info(Marker marker, CharSequence message)
      Description copied from interface: Logger
      Logs a message CharSequence with the INFO level.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message CharSequence to log.
    • info

      public void info(Marker marker, CharSequence message, Throwable throwable)
      Description copied from interface: Logger
      Logs a CharSequence at the INFO level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message CharSequence to log.
      throwable - the Throwable to log, including its stack trace.
    • info

      public void info(Marker marker, Object message)
      Description copied from interface: Logger
      Logs a message object with the INFO level.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message object to log.
    • info

      public void info(Marker marker, Object message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the INFO level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
    • info

      public void info(Marker marker, String message)
      Description copied from interface: Logger
      Logs a message object with the INFO level.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message object to log.
    • info

      public void info(Marker marker, String message, Object... params)
      Description copied from interface: Logger
      Logs a message with parameters at the INFO level.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      params - parameters to the message.
      See Also:
    • info

      public void info(Marker marker, String message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the INFO level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
    • info

      public void info(Message message)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the INFO level.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message string to be logged
    • info

      public void info(Message message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the INFO level.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message string to be logged
      throwable - A Throwable or null.
    • info

      public void info(CharSequence message)
      Description copied from interface: Logger
      Logs a message CharSequence with the INFO level.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message CharSequence to log.
    • info

      public void info(CharSequence message, Throwable throwable)
      Description copied from interface: Logger
      Logs a CharSequence at the INFO level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message CharSequence to log.
      throwable - the Throwable to log, including its stack trace.
    • info

      public void info(Object message)
      Description copied from interface: Logger
      Logs a message object with the INFO level.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message object to log.
    • info

      public void info(Object message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the INFO level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
    • info

      public void info(String message)
      Description copied from interface: Logger
      Logs a message object with the INFO level.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message string to log.
    • info

      public void info(String message, Object... params)
      Description copied from interface: Logger
      Logs a message with parameters at the INFO level.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      params - parameters to the message.
      See Also:
    • info

      public void info(String message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the INFO level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
    • info

      public void info(Supplier<?> messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the INFO level.
      Specified by:
      info in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
    • info

      public void info(Supplier<?> messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the INFO level) including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      info in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
      throwable - the Throwable to log, including its stack trace.
    • info

      public void info(Marker marker, Supplier<?> messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the INFO level with the specified Marker.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
    • info

      public void info(Marker marker, String message, Supplier<?>... paramSuppliers)
      Description copied from interface: Logger
      Logs a message with parameters which are only to be constructed if the logging level is the INFO level.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      paramSuppliers - An array of functions, which when called, produce the desired log message parameters.
    • info

      public void info(Marker marker, Supplier<?> messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the INFO level) with the specified Marker and including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
      throwable - A Throwable or null.
    • info

      public void info(String message, Supplier<?>... paramSuppliers)
      Description copied from interface: Logger
      Logs a message with parameters which are only to be constructed if the logging level is the INFO level.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      paramSuppliers - An array of functions, which when called, produce the desired log message parameters.
    • info

      public void info(Marker marker, MessageSupplier messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the INFO level with the specified Marker. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message.
    • info

      public void info(Marker marker, MessageSupplier messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the INFO level) with the specified Marker and including the stack trace of the Throwable throwable passed as parameter. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message.
      throwable - A Throwable or null.
    • info

      public void info(MessageSupplier messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the INFO level. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      info in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message.
    • info

      public void info(MessageSupplier messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the INFO level) including the stack trace of the Throwable throwable passed as parameter. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      info in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message.
      throwable - the Throwable to log, including its stack trace.
    • info

      public void info(Marker marker, String message, Object p0)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
    • info

      public void info(Marker marker, String message, Object p0, Object p1)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
    • info

      public void info(Marker marker, String message, Object p0, Object p1, Object p2)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
    • info

      public void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
    • info

      public void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
    • info

      public void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
    • info

      public void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
    • info

      public void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
    • info

      public void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
    • info

      public void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
      p9 - parameter to the message.
    • info

      public void info(String message, Object p0)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
    • info

      public void info(String message, Object p0, Object p1)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
    • info

      public void info(String message, Object p0, Object p1, Object p2)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
    • info

      public void info(String message, Object p0, Object p1, Object p2, Object p3)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
    • info

      public void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
    • info

      public void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
    • info

      public void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
    • info

      public void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
    • info

      public void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
    • info

      public void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
      Description copied from interface: Logger
      Logs a message with parameters at info level.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
      p9 - parameter to the message.
    • isDebugEnabled

      public boolean isDebugEnabled()
      Description copied from interface: Logger
      Checks whether this Logger is enabled for the DEBUG Level.
      Specified by:
      isDebugEnabled in interface Logger
      Returns:
      boolean - true if this Logger is enabled for level DEBUG, false otherwise.
    • isDebugEnabled

      public boolean isDebugEnabled(Marker marker)
      Description copied from interface: Logger
      Checks whether this Logger is enabled for the DEBUG Level.
      Specified by:
      isDebugEnabled in interface Logger
      Parameters:
      marker - The Marker to check
      Returns:
      boolean - true if this Logger is enabled for level DEBUG, false otherwise.
    • isEnabled

      public boolean isEnabled(Level level)
      Description copied from interface: Logger
      Checks whether this Logger is enabled for the given Level.

      Note that passing in OFF always returns true.

      Specified by:
      isEnabled in interface Logger
      Parameters:
      level - the Level to check
      Returns:
      boolean - true if this Logger is enabled for level, false otherwise.
    • isEnabled

      public boolean isEnabled(Level level, Marker marker)
      Description copied from interface: Logger
      Checks whether this Logger is enabled for the given Level and Marker.
      Specified by:
      isEnabled in interface Logger
      Parameters:
      level - The Level to check
      marker - The Marker to check
      Returns:
      boolean - true if this Logger is enabled for level and marker, false otherwise.
    • isErrorEnabled

      public boolean isErrorEnabled()
      Description copied from interface: Logger
      Checks whether this Logger is enabled for the ERROR Level.
      Specified by:
      isErrorEnabled in interface Logger
      Returns:
      boolean - true if this Logger is enabled for level ERROR, false otherwise.
    • isErrorEnabled

      public boolean isErrorEnabled(Marker marker)
      Description copied from interface: Logger
      Checks whether this Logger is enabled for the ERROR Level.
      Specified by:
      isErrorEnabled in interface Logger
      Parameters:
      marker - The Marker to check
      Returns:
      boolean - true if this Logger is enabled for level ERROR, false otherwise.
    • isFatalEnabled

      public boolean isFatalEnabled()
      Description copied from interface: Logger
      Checks whether this Logger is enabled for the FATAL Level.
      Specified by:
      isFatalEnabled in interface Logger
      Returns:
      boolean - true if this Logger is enabled for level FATAL, false otherwise.
    • isFatalEnabled

      public boolean isFatalEnabled(Marker marker)
      Description copied from interface: Logger
      Checks whether this Logger is enabled for the FATAL Level.
      Specified by:
      isFatalEnabled in interface Logger
      Parameters:
      marker - The Marker to check
      Returns:
      boolean - true if this Logger is enabled for level FATAL, false otherwise.
    • isInfoEnabled

      public boolean isInfoEnabled()
      Description copied from interface: Logger
      Checks whether this Logger is enabled for the INFO Level.
      Specified by:
      isInfoEnabled in interface Logger
      Returns:
      boolean - true if this Logger is enabled for level INFO, false otherwise.
    • isInfoEnabled

      public boolean isInfoEnabled(Marker marker)
      Description copied from interface: Logger
      Checks whether this Logger is enabled for the INFO Level.
      Specified by:
      isInfoEnabled in interface Logger
      Parameters:
      marker - The Marker to check
      Returns:
      boolean - true if this Logger is enabled for level INFO, false otherwise.
    • isTraceEnabled

      public boolean isTraceEnabled()
      Description copied from interface: Logger
      Checks whether this Logger is enabled for the TRACE level.
      Specified by:
      isTraceEnabled in interface Logger
      Returns:
      boolean - true if this Logger is enabled for level TRACE, false otherwise.
    • isTraceEnabled

      public boolean isTraceEnabled(Marker marker)
      Description copied from interface: Logger
      Checks whether this Logger is enabled for the TRACE level.
      Specified by:
      isTraceEnabled in interface Logger
      Parameters:
      marker - The Marker to check
      Returns:
      boolean - true if this Logger is enabled for level TRACE, false otherwise.
    • isWarnEnabled

      public boolean isWarnEnabled()
      Description copied from interface: Logger
      Checks whether this Logger is enabled for the WARN Level.
      Specified by:
      isWarnEnabled in interface Logger
      Returns:
      boolean - true if this Logger is enabled for level WARN, false otherwise.
    • isWarnEnabled

      public boolean isWarnEnabled(Marker marker)
      Description copied from interface: Logger
      Checks whether this Logger is enabled for the WARN Level.
      Specified by:
      isWarnEnabled in interface Logger
      Parameters:
      marker - The Marker to check
      Returns:
      boolean - true if this Logger is enabled for level WARN, false otherwise.
    • log

      public void log(Level level, Marker marker, Message message)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the given level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message string to be logged
    • log

      public void log(Level level, Marker marker, Message message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the given level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message string to be logged
      throwable - A Throwable or null.
    • log

      public void log(Level level, Marker marker, CharSequence message)
      Description copied from interface: Logger
      Logs a message CharSequence with the given level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message CharSequence to log.
    • log

      public void log(Level level, Marker marker, CharSequence message, Throwable throwable)
      Description copied from interface: Logger
      Logs a CharSequence at the given level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message CharSequence to log.
      throwable - the Throwable to log, including its stack trace.
    • log

      public void log(Level level, Marker marker, Object message)
      Description copied from interface: Logger
      Logs a message object with the given level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message object to log.
    • log

      public void log(Level level, Marker marker, Object message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the given level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message to log.
      throwable - the Throwable to log, including its stack trace.
    • log

      public void log(Level level, Marker marker, String message)
      Description copied from interface: Logger
      Logs a message object with the given level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message object to log.
    • log

      public void log(Level level, Marker marker, String message, Object... params)
      Description copied from interface: Logger
      Logs a message with parameters at the given level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      params - parameters to the message.
      See Also:
    • log

      public void log(Level level, Marker marker, String message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the given level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message to log.
      throwable - the Throwable to log, including its stack trace.
    • log

      public void log(Level level, Message message)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the given level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message string to be logged
    • log

      public void log(Level level, Message message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the given level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message string to be logged
      throwable - A Throwable or null.
    • log

      public void log(Level level, CharSequence message)
      Description copied from interface: Logger
      Logs a message CharSequence with the given level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message CharSequence to log.
    • log

      public void log(Level level, CharSequence message, Throwable throwable)
      Description copied from interface: Logger
      Logs a CharSequence at the given level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message CharSequence to log.
      throwable - the Throwable to log, including its stack trace.
    • log

      public void log(Level level, Object message)
      Description copied from interface: Logger
      Logs a message object with the given level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message object to log.
    • log

      public void log(Level level, Object message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the given level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message to log.
      throwable - the Throwable to log, including its stack trace.
    • log

      public void log(Level level, String message)
      Description copied from interface: Logger
      Logs a message object with the given level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message string to log.
    • log

      public void log(Level level, String message, Object... params)
      Description copied from interface: Logger
      Logs a message with parameters at the given level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message to log; the format depends on the message factory.
      params - parameters to the message.
      See Also:
    • log

      public void log(Level level, String message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the given level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message to log.
      throwable - the Throwable to log, including its stack trace.
    • log

      public void log(Level level, Supplier<?> messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
    • log

      public void log(Level level, Supplier<?> messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the specified level) including the stack log of the Throwable throwable passed as parameter.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
      throwable - the Throwable to log, including its stack log.
    • log

      public void log(Level level, Marker marker, Supplier<?> messageSupplier)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the specified level) with the specified Marker.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
    • log

      public void log(Level level, Marker marker, String message, Supplier<?>... paramSuppliers)
      Description copied from interface: Logger
      Logs a message with parameters which are only to be constructed if the logging level is the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      paramSuppliers - An array of functions, which when called, produce the desired log message parameters.
    • log

      public void log(Level level, Marker marker, Supplier<?> messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the specified level) with the specified Marker and including the stack log of the Throwable throwable passed as parameter.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
      throwable - A Throwable or null.
    • log

      public void log(Level level, String message, Supplier<?>... paramSuppliers)
      Description copied from interface: Logger
      Logs a message with parameters which are only to be constructed if the logging level is the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message to log; the format depends on the message factory.
      paramSuppliers - An array of functions, which when called, produce the desired log message parameters.
    • log

      public void log(Level level, Marker marker, MessageSupplier messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the specified level with the specified Marker. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message.
    • log

      public void log(Level level, Marker marker, MessageSupplier messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the specified level) with the specified Marker and including the stack log of the Throwable throwable passed as parameter. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message.
      throwable - A Throwable or null.
    • log

      public void log(Level level, MessageSupplier messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the specified level. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      messageSupplier - A function, which when called, produces the desired log message.
    • log

      public void log(Level level, MessageSupplier messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the specified level) including the stack log of the Throwable throwable passed as parameter. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      messageSupplier - A function, which when called, produces the desired log message.
      throwable - the Throwable to log, including its stack log.
    • log

      public void log(Level level, Marker marker, String message, Object p0)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
    • log

      public void log(Level level, Marker marker, String message, Object p0, Object p1)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
    • log

      public void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
    • log

      public void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
    • log

      public void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
    • log

      public void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
    • log

      public void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
    • log

      public void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
    • log

      public void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
    • log

      public void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
      p9 - parameter to the message.
    • log

      public void log(Level level, String message, Object p0)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
    • log

      public void log(Level level, String message, Object p0, Object p1)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
    • log

      public void log(Level level, String message, Object p0, Object p1, Object p2)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
    • log

      public void log(Level level, String message, Object p0, Object p1, Object p2, Object p3)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
    • log

      public void log(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
    • log

      public void log(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
    • log

      public void log(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
    • log

      public void log(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
    • log

      public void log(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
    • log

      public void log(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
      Description copied from interface: Logger
      Logs a message with parameters at the specified level.
      Specified by:
      log in interface Logger
      Parameters:
      level - the logging level
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
      p9 - parameter to the message.
    • logIfEnabled

      public void logIfEnabled(String fqcn, Level level, Marker marker, Message message, Throwable throwable)
      Description copied from interface: ExtendedLogger
      Logs a message if the specified level is active.
      Specified by:
      logIfEnabled in interface ExtendedLogger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logging Level to check.
      marker - A Marker or null.
      message - The Message.
      throwable - the exception to log, including its stack trace.
    • logIfEnabled

      public void logIfEnabled(String fqcn, Level level, Marker marker, MessageSupplier messageSupplier, Throwable throwable)
      Description copied from interface: ExtendedLogger
      Logs a message which is only to be constructed if the specified level is active.
      Specified by:
      logIfEnabled in interface ExtendedLogger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logging Level to check.
      marker - A Marker or null.
      messageSupplier - A function, which when called, produces the desired log message.
      throwable - the exception to log, including its stack trace.
    • logIfEnabled

      public void logIfEnabled(String fqcn, Level level, Marker marker, Object message, Throwable throwable)
      Description copied from interface: ExtendedLogger
      Logs a message if the specified level is active.
      Specified by:
      logIfEnabled in interface ExtendedLogger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logging Level to check.
      marker - A Marker or null.
      message - The message.
      throwable - the exception to log, including its stack trace.
    • logIfEnabled

      public void logIfEnabled(String fqcn, Level level, Marker marker, CharSequence message, Throwable throwable)
      Description copied from interface: ExtendedLogger
      Logs a CharSequence message if the specified level is active.
      Specified by:
      logIfEnabled in interface ExtendedLogger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logging Level to check.
      marker - A Marker or null.
      message - The CharSequence message.
      throwable - the exception to log, including its stack trace.
    • logIfEnabled

      public void logIfEnabled(String fqcn, Level level, Marker marker, Supplier<?> messageSupplier, Throwable throwable)
      Description copied from interface: ExtendedLogger
      Logs a message which is only to be constructed if the specified level is active.
      Specified by:
      logIfEnabled in interface ExtendedLogger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logging Level to check.
      marker - A Marker or null.
      messageSupplier - A function, which when called, produces the desired log message.
      throwable - the exception to log, including its stack trace.
    • logIfEnabled

      public void logIfEnabled(String fqcn, Level level, Marker marker, String message)
      Description copied from interface: ExtendedLogger
      Logs a message if the specified level is active.
      Specified by:
      logIfEnabled in interface ExtendedLogger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logging Level to check.
      marker - A Marker or null.
      message - The message.
    • logIfEnabled

      public void logIfEnabled(String fqcn, Level level, Marker marker, String message, Supplier<?>... paramSuppliers)
      Description copied from interface: ExtendedLogger
      Logs a message whose parameters are only to be constructed if the specified level is active.
      Specified by:
      logIfEnabled in interface ExtendedLogger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logging Level to check.
      marker - A Marker or null.
      message - The message format.
      paramSuppliers - An array of functions, which when called, produce the desired log message parameters.
    • logIfEnabled

      public void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object... params)
      Description copied from interface: ExtendedLogger
      Logs a message if the specified level is active.
      Specified by:
      logIfEnabled in interface ExtendedLogger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logging Level to check.
      marker - A Marker or null.
      message - The message format.
      params - The message parameters.
    • logIfEnabled

      public void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0)
      Description copied from interface: ExtendedLogger
      Logs a message if the specified level is active.
      Specified by:
      logIfEnabled in interface ExtendedLogger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logging Level to check.
      marker - A Marker or null.
      message - The message format.
      p0 - the message parameters
    • logIfEnabled

      public void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1)
      Description copied from interface: ExtendedLogger
      Logs a message if the specified level is active.
      Specified by:
      logIfEnabled in interface ExtendedLogger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logging Level to check.
      marker - A Marker or null.
      message - The message format.
      p0 - the message parameters
      p1 - the message parameters
    • logIfEnabled

      public void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2)
      Description copied from interface: ExtendedLogger
      Logs a message if the specified level is active.
      Specified by:
      logIfEnabled in interface ExtendedLogger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logging Level to check.
      marker - A Marker or null.
      message - The message format.
      p0 - the message parameters
      p1 - the message parameters
      p2 - the message parameters
    • logIfEnabled

      public void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3)
      Description copied from interface: ExtendedLogger
      Logs a message if the specified level is active.
      Specified by:
      logIfEnabled in interface ExtendedLogger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logging Level to check.
      marker - A Marker or null.
      message - The message format.
      p0 - the message parameters
      p1 - the message parameters
      p2 - the message parameters
      p3 - the message parameters
    • logIfEnabled

      public void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
      Description copied from interface: ExtendedLogger
      Logs a message if the specified level is active.
      Specified by:
      logIfEnabled in interface ExtendedLogger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logging Level to check.
      marker - A Marker or null.
      message - The message format.
      p0 - the message parameters
      p1 - the message parameters
      p2 - the message parameters
      p3 - the message parameters
      p4 - the message parameters
    • logIfEnabled

      public void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
      Description copied from interface: ExtendedLogger
      Logs a message if the specified level is active.
      Specified by:
      logIfEnabled in interface ExtendedLogger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logging Level to check.
      marker - A Marker or null.
      message - The message format.
      p0 - the message parameters
      p1 - the message parameters
      p2 - the message parameters
      p3 - the message parameters
      p4 - the message parameters
      p5 - the message parameters
    • logIfEnabled

      public void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
      Description copied from interface: ExtendedLogger
      Logs a message if the specified level is active.
      Specified by:
      logIfEnabled in interface ExtendedLogger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logging Level to check.
      marker - A Marker or null.
      message - The message format.
      p0 - the message parameters
      p1 - the message parameters
      p2 - the message parameters
      p3 - the message parameters
      p4 - the message parameters
      p5 - the message parameters
      p6 - the message parameters
    • logIfEnabled

      public void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
      Description copied from interface: ExtendedLogger
      Logs a message if the specified level is active.
      Specified by:
      logIfEnabled in interface ExtendedLogger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logging Level to check.
      marker - A Marker or null.
      message - The message format.
      p0 - the message parameters
      p1 - the message parameters
      p2 - the message parameters
      p3 - the message parameters
      p4 - the message parameters
      p5 - the message parameters
      p6 - the message parameters
      p7 - the message parameters
    • logIfEnabled

      public void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
      Description copied from interface: ExtendedLogger
      Logs a message if the specified level is active.
      Specified by:
      logIfEnabled in interface ExtendedLogger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logging Level to check.
      marker - A Marker or null.
      message - The message format.
      p0 - the message parameters
      p1 - the message parameters
      p2 - the message parameters
      p3 - the message parameters
      p4 - the message parameters
      p5 - the message parameters
      p6 - the message parameters
      p7 - the message parameters
      p8 - the message parameters
    • logIfEnabled

      public void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
      Description copied from interface: ExtendedLogger
      Logs a message if the specified level is active.
      Specified by:
      logIfEnabled in interface ExtendedLogger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logging Level to check.
      marker - A Marker or null.
      message - The message format.
      p0 - the message parameters
      p1 - the message parameters
      p2 - the message parameters
      p3 - the message parameters
      p4 - the message parameters
      p5 - the message parameters
      p6 - the message parameters
      p7 - the message parameters
      p8 - the message parameters
      p9 - the message parameters
    • logIfEnabled

      public void logIfEnabled(String fqcn, Level level, Marker marker, String message, Throwable throwable)
      Description copied from interface: ExtendedLogger
      Logs a message if the specified level is active.
      Specified by:
      logIfEnabled in interface ExtendedLogger
      Parameters:
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      level - The logging Level to check.
      marker - A Marker or null.
      message - The message.
      throwable - the exception to log, including its stack trace.
    • logMessage

      protected void logMessage(String fqcn, Level level, Marker marker, CharSequence message, Throwable throwable)
    • logMessage

      protected void logMessage(String fqcn, Level level, Marker marker, Object message, Throwable throwable)
    • logMessage

      protected void logMessage(String fqcn, Level level, Marker marker, MessageSupplier messageSupplier, Throwable throwable)
    • logMessage

      protected void logMessage(String fqcn, Level level, Marker marker, Supplier<?> messageSupplier, Throwable throwable)
    • logMessage

      protected void logMessage(String fqcn, Level level, Marker marker, String message, Throwable throwable)
    • logMessage

      protected void logMessage(String fqcn, Level level, Marker marker, String message)
    • logMessage

      protected void logMessage(String fqcn, Level level, Marker marker, String message, Object... params)
    • logMessage

      protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0)
    • logMessage

      protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1)
    • logMessage

      protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2)
    • logMessage

      protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3)
    • logMessage

      protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
    • logMessage

      protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
    • logMessage

      protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
    • logMessage

      protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
    • logMessage

      protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
    • logMessage

      protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
    • logMessage

      protected void logMessage(String fqcn, Level level, Marker marker, String message, Supplier<?>... paramSuppliers)
    • logMessage

      public void logMessage(Level level, Marker marker, String fqcn, StackTraceElement location, Message message, Throwable throwable)
      Description copied from interface: Logger
      Logs a Message.
      Specified by:
      logMessage in interface LocationAwareLogger
      Specified by:
      logMessage in interface Logger
      Parameters:
      level - The logging Level to check.
      marker - A Marker or null.
      fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
      location - The location of the caller.
      message - The message format.
      throwable - the Throwable to log, including its stack trace.
    • log

      protected void log(Level level, Marker marker, String fqcn, StackTraceElement location, Message message, Throwable throwable)
    • printf

      public void printf(Level level, Marker marker, String format, Object... params)
      Description copied from interface: Logger
      Logs a formatted message using the specified format string and arguments.
      Specified by:
      printf in interface Logger
      Parameters:
      level - The logging Level.
      marker - the marker data specific to this log statement.
      format - The format String.
      params - Arguments specified by the format.
    • printf

      public void printf(Level level, String format, Object... params)
      Description copied from interface: Logger
      Logs a formatted message using the specified format string and arguments.
      Specified by:
      printf in interface Logger
      Parameters:
      level - The logging Level.
      format - The format String.
      params - Arguments specified by the format.
    • getRecursionDepth

      public static int getRecursionDepth()
      Returns the depth of nested logging calls in the current Thread: zero if no logging call has been made, one if a single logging call without nested logging calls has been made, or more depending on the level of nesting.
      Returns:
      the depth of the nested logging calls in the current Thread
    • throwing

      public <T extends Throwable> T throwing(T throwable)
      Description copied from interface: Logger
      Logs a Throwable to be thrown at the ERROR level. This may be coded as:
       throw logger.throwing(myException);
       
      Specified by:
      throwing in interface Logger
      Type Parameters:
      T - the Throwable type.
      Parameters:
      throwable - The Throwable.
      Returns:
      the Throwable.
    • throwing

      public <T extends Throwable> T throwing(Level level, T throwable)
      Description copied from interface: Logger
      Logs a Throwable to be thrown. This may be coded as:
       throw logger.throwing(Level.DEBUG, myException);
       
      Specified by:
      throwing in interface Logger
      Type Parameters:
      T - the Throwable type.
      Parameters:
      level - The logging Level.
      throwable - The Throwable.
      Returns:
      the Throwable.
    • throwing

      protected <T extends Throwable> T throwing(String fqcn, Level level, T throwable)
      Logs a Throwable to be thrown.
      Type Parameters:
      T - the type of the Throwable.
      Parameters:
      fqcn - the fully qualified class name of this Logger implementation.
      level - The logging Level.
      throwable - The Throwable.
      Returns:
      the Throwable.
    • throwingMsg

      protected Message throwingMsg(Throwable throwable)
    • trace

      public void trace(Marker marker, Message message)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the TRACE level.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message string to be logged
    • trace

      public void trace(Marker marker, Message message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the TRACE level.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message string to be logged
      throwable - A Throwable or null.
    • trace

      public void trace(Marker marker, CharSequence message)
      Description copied from interface: Logger
      Logs a message CharSequence with the TRACE level.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message CharSequence to log.
    • trace

      public void trace(Marker marker, CharSequence message, Throwable throwable)
      Description copied from interface: Logger
      Logs a CharSequence at the TRACE level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message CharSequence to log.
      throwable - the Throwable to log, including its stack trace.
      See Also:
    • trace

      public void trace(Marker marker, Object message)
      Description copied from interface: Logger
      Logs a message object with the TRACE level.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message object to log.
    • trace

      public void trace(Marker marker, Object message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the TRACE level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
      See Also:
    • trace

      public void trace(Marker marker, String message)
      Description copied from interface: Logger
      Logs a message object with the TRACE level.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message string to log.
    • trace

      public void trace(Marker marker, String message, Object... params)
      Description copied from interface: Logger
      Logs a message with parameters at the TRACE level.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      params - parameters to the message.
      See Also:
    • trace

      public void trace(Marker marker, String message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the TRACE level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
      See Also:
    • trace

      public void trace(Message message)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the TRACE level.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message string to be logged
    • trace

      public void trace(Message message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the TRACE level.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message string to be logged
      throwable - A Throwable or null.
    • trace

      public void trace(CharSequence message)
      Description copied from interface: Logger
      Logs a message CharSequence with the TRACE level.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message CharSequence to log.
    • trace

      public void trace(CharSequence message, Throwable throwable)
      Description copied from interface: Logger
      Logs a CharSequence at the TRACE level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message CharSequence to log.
      throwable - the Throwable to log, including its stack trace.
      See Also:
    • trace

      public void trace(Object message)
      Description copied from interface: Logger
      Logs a message object with the TRACE level.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message object to log.
    • trace

      public void trace(Object message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the TRACE level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
      See Also:
    • trace

      public void trace(String message)
      Description copied from interface: Logger
      Logs a message object with the TRACE level.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message string to log.
    • trace

      public void trace(String message, Object... params)
      Description copied from interface: Logger
      Logs a message with parameters at the TRACE level.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      params - parameters to the message.
      See Also:
    • trace

      public void trace(String message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the TRACE level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
      See Also:
    • trace

      public void trace(Supplier<?> messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the TRACE level.
      Specified by:
      trace in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
    • trace

      public void trace(Supplier<?> messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the TRACE level) including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      trace in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
      throwable - the Throwable to log, including its stack trace.
    • trace

      public void trace(Marker marker, Supplier<?> messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the TRACE level with the specified Marker.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
    • trace

      public void trace(Marker marker, String message, Supplier<?>... paramSuppliers)
      Description copied from interface: Logger
      Logs a message with parameters which are only to be constructed if the logging level is the TRACE level.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      paramSuppliers - An array of functions, which when called, produce the desired log message parameters.
    • trace

      public void trace(Marker marker, Supplier<?> messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the TRACE level) with the specified Marker and including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
      throwable - A Throwable or null.
    • trace

      public void trace(String message, Supplier<?>... paramSuppliers)
      Description copied from interface: Logger
      Logs a message with parameters which are only to be constructed if the logging level is the TRACE level.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      paramSuppliers - An array of functions, which when called, produce the desired log message parameters.
    • trace

      public void trace(Marker marker, MessageSupplier messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the TRACE level with the specified Marker. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message.
    • trace

      public void trace(Marker marker, MessageSupplier messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the TRACE level) with the specified Marker and including the stack trace of the Throwable throwable passed as parameter. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message.
      throwable - A Throwable or null.
    • trace

      public void trace(MessageSupplier messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the TRACE level. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      trace in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message.
    • trace

      public void trace(MessageSupplier messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the TRACE level) including the stack trace of the Throwable throwable passed as parameter. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      trace in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message.
      throwable - the Throwable to log, including its stack trace.
    • trace

      public void trace(Marker marker, String message, Object p0)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
    • trace

      public void trace(Marker marker, String message, Object p0, Object p1)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
    • trace

      public void trace(Marker marker, String message, Object p0, Object p1, Object p2)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
    • trace

      public void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
    • trace

      public void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
    • trace

      public void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
    • trace

      public void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
    • trace

      public void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
    • trace

      public void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
    • trace

      public void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
      p9 - parameter to the message.
    • trace

      public void trace(String message, Object p0)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
    • trace

      public void trace(String message, Object p0, Object p1)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
    • trace

      public void trace(String message, Object p0, Object p1, Object p2)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
    • trace

      public void trace(String message, Object p0, Object p1, Object p2, Object p3)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
    • trace

      public void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
    • trace

      public void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
    • trace

      public void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
    • trace

      public void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
    • trace

      public void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
    • trace

      public void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
      Description copied from interface: Logger
      Logs a message with parameters at trace level.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
      p9 - parameter to the message.
    • traceEntry

      public EntryMessage traceEntry()
      Description copied from interface: Logger
      Logs entry to a method. Used when the method in question has no parameters or when the parameters should not be logged.
      Specified by:
      traceEntry in interface Logger
      Returns:
      built message
    • traceEntry

      public EntryMessage traceEntry(String format, Object... params)
      Description copied from interface: Logger
      Logs entry to a method along with its parameters. For example,
       public void doSomething(String foo, int bar) {
           LOGGER.traceEntry("Parameters: {} and {}", foo, bar);
           // do something
       }
       
      or:
       public int doSomething(String foo, int bar) {
           Message m = LOGGER.traceEntry("doSomething(foo={}, bar={})", foo, bar);
           // do something
           return traceExit(m, value);
       }
       
      Specified by:
      traceEntry in interface Logger
      Parameters:
      format - The format String for the parameters.
      params - The parameters to the method.
      Returns:
      The built Message
    • traceEntry

      public EntryMessage traceEntry(Supplier<?>... paramSuppliers)
      Description copied from interface: Logger
      Logs entry to a method along with its parameters. For example,
      
       public void doSomething(Request foo) {
           LOGGER.traceEntry(()->gson.toJson(foo));
           // do something
       }
       
      Specified by:
      traceEntry in interface Logger
      Parameters:
      paramSuppliers - The Suppliers for the parameters to the method.
      Returns:
      built message
    • traceEntry

      public EntryMessage traceEntry(String format, Supplier<?>... paramSuppliers)
      Description copied from interface: Logger
      Logs entry to a method along with its parameters. For example,
      
       public void doSomething(String foo, int bar) {
           LOGGER.traceEntry("Parameters: {} and {}", ()->gson.toJson(foo), ()-> bar);
           // do something
       }
       
      Specified by:
      traceEntry in interface Logger
      Parameters:
      format - The format String for the parameters.
      paramSuppliers - The Suppliers for the parameters to the method.
      Returns:
      built message
    • traceEntry

      public EntryMessage traceEntry(Message message)
      Description copied from interface: Logger
      Logs entry to a method using a Message to describe the parameters.
       public void doSomething(Request foo) {
           LOGGER.traceEntry(new JsonMessage(foo));
           // do something
       }
       

      Avoid passing a ReusableMessage to this method (therefore, also avoid passing messages created by calling logger.getMessageFactory().newMessage("some message")): Log4j will replace such messages with an immutable message to prevent situations where the reused message instance is modified by subsequent calls to the logger before the returned EntryMessage is fully processed.

      Specified by:
      traceEntry in interface Logger
      Parameters:
      message - The message. Avoid specifying a ReusableMessage, use immutable messages instead.
      Returns:
      the built message
      See Also:
    • traceExit

      public void traceExit()
      Description copied from interface: Logger
      Logs exit from a method. Used for methods that do not return anything.
      Specified by:
      traceExit in interface Logger
    • traceExit

      public <R> R traceExit(R result)
      Description copied from interface: Logger
      Logs exiting from a method with the result. This may be coded as:
       return LOGGER.traceExit(myResult);
       
      Specified by:
      traceExit in interface Logger
      Type Parameters:
      R - The type of the parameter and object being returned.
      Parameters:
      result - The result being returned from the method call.
      Returns:
      the result.
    • traceExit

      public <R> R traceExit(String format, R result)
      Description copied from interface: Logger
      Logs exiting from a method with the result. This may be coded as:
       return LOGGER.traceExit("Result: {}", myResult);
       
      Specified by:
      traceExit in interface Logger
      Type Parameters:
      R - The type of the parameter and object being returned.
      Parameters:
      format - The format String for the result.
      result - The result being returned from the method call.
      Returns:
      the result.
    • traceExit

      public void traceExit(EntryMessage message)
      Description copied from interface: Logger
      Logs exiting from a method with no result. Allows custom formatting of the result. This may be coded as:
       public long doSomething(int a, int b) {
          EntryMessage m = traceEntry("doSomething(a={}, b={})", a, b);
          // ...
          return LOGGER.traceExit(m);
       }
       
      Specified by:
      traceExit in interface Logger
      Parameters:
      message - The Message containing the formatted result.
    • traceExit

      public <R> R traceExit(EntryMessage message, R result)
      Description copied from interface: Logger
      Logs exiting from a method with the result. Allows custom formatting of the result. This may be coded as:
       public long doSomething(int a, int b) {
          EntryMessage m = traceEntry("doSomething(a={}, b={})", a, b);
          // ...
          return LOGGER.traceExit(m, myResult);
       }
       
      Specified by:
      traceExit in interface Logger
      Type Parameters:
      R - The type of the parameter and object being returned.
      Parameters:
      message - The Message containing the formatted result.
      result - The result being returned from the method call.
      Returns:
      the result.
    • traceExit

      public <R> R traceExit(Message message, R result)
      Description copied from interface: Logger
      Logs exiting from a method with the result. Allows custom formatting of the result. This may be coded as:
       return LOGGER.traceExit(new JsonMessage(myResult), myResult);
       
      Specified by:
      traceExit in interface Logger
      Type Parameters:
      R - The type of the parameter and object being returned.
      Parameters:
      message - The Message containing the formatted result.
      result - The result being returned from the method call.
      Returns:
      the result.
    • warn

      public void warn(Marker marker, Message message)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the WARN level.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message string to be logged
    • warn

      public void warn(Marker marker, Message message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the WARN level.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message string to be logged
      throwable - A Throwable or null.
    • warn

      public void warn(Marker marker, CharSequence message)
      Description copied from interface: Logger
      Logs a message CharSequence with the WARN level.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message CharSequence to log.
    • warn

      public void warn(Marker marker, CharSequence message, Throwable throwable)
      Description copied from interface: Logger
      Logs a CharSequence at the WARN level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message CharSequence to log.
      throwable - the Throwable to log, including its stack trace.
    • warn

      public void warn(Marker marker, Object message)
      Description copied from interface: Logger
      Logs a message object with the WARN level.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message object to log.
    • warn

      public void warn(Marker marker, Object message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the WARN level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
    • warn

      public void warn(Marker marker, String message)
      Description copied from interface: Logger
      Logs a message object with the WARN level.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message object to log.
    • warn

      public void warn(Marker marker, String message, Object... params)
      Description copied from interface: Logger
      Logs a message with parameters at the WARN level.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message to log; the format depends on the message factory.
      params - parameters to the message.
      See Also:
    • warn

      public void warn(Marker marker, String message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the WARN level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
    • warn

      public void warn(Message message)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the WARN level.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message string to be logged
    • warn

      public void warn(Message message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message with the specific Marker at the WARN level.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message string to be logged
      throwable - A Throwable or null.
    • warn

      public void warn(CharSequence message)
      Description copied from interface: Logger
      Logs a message CharSequence with the WARN level.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message CharSequence to log.
    • warn

      public void warn(CharSequence message, Throwable throwable)
      Description copied from interface: Logger
      Logs a CharSequence at the WARN level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message CharSequence to log.
      throwable - the Throwable to log, including its stack trace.
    • warn

      public void warn(Object message)
      Description copied from interface: Logger
      Logs a message object with the WARN level.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message object to log.
    • warn

      public void warn(Object message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the WARN level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
    • warn

      public void warn(String message)
      Description copied from interface: Logger
      Logs a message object with the WARN level.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message string to log.
    • warn

      public void warn(String message, Object... params)
      Description copied from interface: Logger
      Logs a message with parameters at the WARN level.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      params - parameters to the message.
      See Also:
    • warn

      public void warn(String message, Throwable throwable)
      Description copied from interface: Logger
      Logs a message at the WARN level including the stack trace of the Throwable throwable passed as parameter.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message object to log.
      throwable - the Throwable to log, including its stack trace.
    • warn

      public void warn(Supplier<?> messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the WARN level.
      Specified by:
      warn in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
    • warn

      public void warn(Supplier<?> messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the WARN level) including the stack warn of the Throwable throwable passed as parameter.
      Specified by:
      warn in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
      throwable - the Throwable to log, including its stack warn.
    • warn

      public void warn(Marker marker, Supplier<?> messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the WARN level with the specified Marker.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
    • warn

      public void warn(Marker marker, String message, Supplier<?>... paramSuppliers)
      Description copied from interface: Logger
      Logs a message with parameters which are only to be constructed if the logging level is the WARN level.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      paramSuppliers - An array of functions, which when called, produce the desired log message parameters.
    • warn

      public void warn(Marker marker, Supplier<?> messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the WARN level) with the specified Marker and including the stack warn of the Throwable throwable passed as parameter.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message; the format depends on the message factory.
      throwable - A Throwable or null.
    • warn

      public void warn(String message, Supplier<?>... paramSuppliers)
      Description copied from interface: Logger
      Logs a message with parameters which are only to be constructed if the logging level is the WARN level.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      paramSuppliers - An array of functions, which when called, produce the desired log message parameters.
    • warn

      public void warn(Marker marker, MessageSupplier messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the WARN level with the specified Marker. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message.
    • warn

      public void warn(Marker marker, MessageSupplier messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the WARN level) with the specified Marker and including the stack warn of the Throwable throwable passed as parameter. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      messageSupplier - A function, which when called, produces the desired log message.
      throwable - A Throwable or null.
    • warn

      public void warn(MessageSupplier messageSupplier)
      Description copied from interface: Logger
      Logs a message which is only to be constructed if the logging level is the WARN level. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      warn in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message.
    • warn

      public void warn(MessageSupplier messageSupplier, Throwable throwable)
      Description copied from interface: Logger
      Logs a message (only to be constructed if the logging level is the WARN level) including the stack warn of the Throwable throwable passed as parameter. The MessageSupplier may or may not use the MessageFactory to construct the Message.
      Specified by:
      warn in interface Logger
      Parameters:
      messageSupplier - A function, which when called, produces the desired log message.
      throwable - the Throwable to log, including its stack warn.
    • warn

      public void warn(Marker marker, String message, Object p0)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
    • warn

      public void warn(Marker marker, String message, Object p0, Object p1)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
    • warn

      public void warn(Marker marker, String message, Object p0, Object p1, Object p2)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
    • warn

      public void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
    • warn

      public void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
    • warn

      public void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
    • warn

      public void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
    • warn

      public void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
    • warn

      public void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
    • warn

      public void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
      p9 - parameter to the message.
    • warn

      public void warn(String message, Object p0)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
    • warn

      public void warn(String message, Object p0, Object p1)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
    • warn

      public void warn(String message, Object p0, Object p1, Object p2)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
    • warn

      public void warn(String message, Object p0, Object p1, Object p2, Object p3)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
    • warn

      public void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
    • warn

      public void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
    • warn

      public void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
    • warn

      public void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
    • warn

      public void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
    • warn

      public void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
      Description copied from interface: Logger
      Logs a message with parameters at warn level.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message to log; the format depends on the message factory.
      p0 - parameter to the message.
      p1 - parameter to the message.
      p2 - parameter to the message.
      p3 - parameter to the message.
      p4 - parameter to the message.
      p5 - parameter to the message.
      p6 - parameter to the message.
      p7 - parameter to the message.
      p8 - parameter to the message.
      p9 - parameter to the message.
    • requiresLocation

      protected boolean requiresLocation()
    • atTrace

      public LogBuilder atTrace()
      Construct a trace log event.
      Specified by:
      atTrace in interface Logger
      Returns:
      a LogBuilder.
      Since:
      2.13.0
    • atDebug

      public LogBuilder atDebug()
      Construct a debug log event.
      Specified by:
      atDebug in interface Logger
      Returns:
      a LogBuilder.
      Since:
      2.13.0
    • atInfo

      public LogBuilder atInfo()
      Construct an informational log event.
      Specified by:
      atInfo in interface Logger
      Returns:
      a LogBuilder.
      Since:
      2.13.0
    • atWarn

      public LogBuilder atWarn()
      Construct a warning log event.
      Specified by:
      atWarn in interface Logger
      Returns:
      a LogBuilder.
      Since:
      2.13.0
    • atError

      public LogBuilder atError()
      Construct an error log event.
      Specified by:
      atError in interface Logger
      Returns:
      a LogBuilder.
      Since:
      2.13.0
    • atFatal

      public LogBuilder atFatal()
      Construct a fatal log event.
      Specified by:
      atFatal in interface Logger
      Returns:
      a LogBuilder.
      Since:
      2.13.0
    • always

      public LogBuilder always()
      Construct a log event that will always be logged.
      Specified by:
      always in interface Logger
      Returns:
      a LogBuilder.
      Since:
      2.13.0
    • atLevel

      public LogBuilder atLevel(Level level)
      Construct a log event.
      Specified by:
      atLevel in interface Logger
      Parameters:
      level - Any level (ignoreed here).
      Returns:
      a LogBuilder.
      Since:
      2.13.0
    • getLogBuilder

      protected LogBuilder getLogBuilder(Level level)
      Returns a log builder that logs at the specified level.
      Since:
      2.20.0