Package org.apache.logging.log4j.spi
Class AbstractLogger
- java.lang.Object
-
- org.apache.logging.log4j.spi.AbstractLogger
-
- All Implemented Interfaces:
java.io.Serializable
,Logger
,ExtendedLogger
,LocationAwareLogger
- Direct Known Subclasses:
ExtendedLoggerWrapper
public abstract class AbstractLogger extends java.lang.Object implements ExtendedLogger, LocationAwareLogger, java.io.Serializable
Base implementation of a Logger. It is highly recommended that any Logger implementation extend this class.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Marker
CATCHING_MARKER
Marker for catching exceptions.static java.lang.Class<? extends FlowMessageFactory>
DEFAULT_FLOW_MESSAGE_FACTORY_CLASS
The default FlowMessageFactory class.static java.lang.Class<? extends MessageFactory>
DEFAULT_MESSAGE_FACTORY_CLASS
The default MessageFactory class.static Marker
ENTRY_MARKER
Marker for method entry tracing.static Marker
EXCEPTION_MARKER
Marker for exception tracing.static Marker
EXIT_MARKER
Marker for method exit tracing.static Marker
FLOW_MARKER
Marker for flow tracing.static Marker
THROWING_MARKER
Marker for throwing exceptions.
-
Constructor Summary
Constructors Constructor Description AbstractLogger()
Creates a new logger named after this class (or subclass).AbstractLogger(java.lang.String name)
Creates a new named logger.AbstractLogger(java.lang.String name, MessageFactory messageFactory)
Creates a new named logger with a particularMessageFactory
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description LogBuilder
always()
Construct a log event that will always be logged.LogBuilder
atDebug()
Construct a debug log event.LogBuilder
atError()
Construct an error log event.LogBuilder
atFatal()
Construct a fatal log event.LogBuilder
atInfo()
Construct an informational log event.LogBuilder
atLevel(Level level)
Construct a log event.LogBuilder
atTrace()
Construct a trace log event.LogBuilder
atWarn()
Construct a warning log event.void
catching(java.lang.Throwable throwable)
Logs aThrowable
that has been caught at theERROR
level.void
catching(Level level, java.lang.Throwable throwable)
Logs aThrowable
that has been caught to a specific logging level.static void
checkMessageFactory(ExtendedLogger logger, MessageFactory messageFactory)
Checks that the message factory a logger was created with is the same as the given messageFactory.void
debug(java.lang.CharSequence message)
Logs a message CharSequence with theDEBUG
level.void
debug(java.lang.CharSequence message, java.lang.Throwable throwable)
Logs a CharSequence at theDEBUG
level including the stack trace of theThrowable
throwable
passed as parameter.void
debug(java.lang.Object message)
Logs a message object with theDEBUG
level.void
debug(java.lang.Object message, java.lang.Throwable throwable)
Logs a message at theDEBUG
level including the stack trace of theThrowable
throwable
passed as parameter.void
debug(java.lang.String message)
Logs a message object with theDEBUG
level.void
debug(java.lang.String message, java.lang.Object p0)
Logs a message with parameters at debug level.void
debug(java.lang.String message, java.lang.Object... params)
Logs a message with parameters at theDEBUG
level.void
debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at debug level.void
debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at debug level.void
debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at debug level.void
debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at debug level.void
debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at debug level.void
debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at debug level.void
debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at debug level.void
debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at debug level.void
debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at debug level.void
debug(java.lang.String message, java.lang.Throwable throwable)
Logs a message at theDEBUG
level including the stack trace of theThrowable
throwable
passed as parameter.void
debug(java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is theDEBUG
level.void
debug(Marker marker, java.lang.CharSequence message)
Logs a message CharSequence with theDEBUG
level.void
debug(Marker marker, java.lang.CharSequence message, java.lang.Throwable throwable)
Logs a message CharSequence at theDEBUG
level including the stack trace of theThrowable
throwable
passed as parameter.void
debug(Marker marker, java.lang.Object message)
Logs a message object with theDEBUG
level.void
debug(Marker marker, java.lang.Object message, java.lang.Throwable throwable)
Logs a message at theDEBUG
level including the stack trace of theThrowable
throwable
passed as parameter.void
debug(Marker marker, java.lang.String message)
Logs a message object with theDEBUG
level.void
debug(Marker marker, java.lang.String message, java.lang.Object p0)
Logs a message with parameters at debug level.void
debug(Marker marker, java.lang.String message, java.lang.Object... params)
Logs a message with parameters at theDEBUG
level.void
debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at debug level.void
debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at debug level.void
debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at debug level.void
debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at debug level.void
debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at debug level.void
debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at debug level.void
debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at debug level.void
debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at debug level.void
debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at debug level.void
debug(Marker marker, java.lang.String message, java.lang.Throwable throwable)
Logs a message at theDEBUG
level including the stack trace of theThrowable
throwable
passed as parameter.void
debug(Marker marker, java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is theDEBUG
level.void
debug(Marker marker, Message message)
Logs a message with the specific Marker at theDEBUG
level.void
debug(Marker marker, Message message, java.lang.Throwable throwable)
Logs a message with the specific Marker at theDEBUG
level.void
debug(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is theDEBUG
level with the specified Marker.void
debug(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theDEBUG
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter.void
debug(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Logs a message which is only to be constructed if the logging level is theDEBUG
level with the specified Marker.void
debug(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theDEBUG
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter.void
debug(Message message)
Logs a message with the specific Marker at theDEBUG
level.void
debug(Message message, java.lang.Throwable throwable)
Logs a message with the specific Marker at theDEBUG
level.void
debug(org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is theDEBUG
level.void
debug(org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theDEBUG
level) including the stack trace of theThrowable
throwable
passed as parameter.void
debug(org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Logs a message which is only to be constructed if the logging level is theDEBUG
level.void
debug(org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theDEBUG
level) including the stack trace of theThrowable
throwable
passed as parameter.void
entry()
Deprecated.void
entry(java.lang.Object... params)
Logs entry to a method along with its parameters (consider using one of thetraceEntry(...)
methods instead.)void
error(java.lang.CharSequence message)
Logs a message CharSequence with theERROR
level.void
error(java.lang.CharSequence message, java.lang.Throwable throwable)
Logs a CharSequence at theERROR
level including the stack trace of theThrowable
throwable
passed as parameter.void
error(java.lang.Object message)
Logs a message object with theERROR
level.void
error(java.lang.Object message, java.lang.Throwable throwable)
Logs a message at theERROR
level including the stack trace of theThrowable
throwable
passed as parameter.void
error(java.lang.String message)
Logs a message object with theERROR
level.void
error(java.lang.String message, java.lang.Object p0)
Logs a message with parameters at error level.void
error(java.lang.String message, java.lang.Object... params)
Logs a message with parameters at theERROR
level.void
error(java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at error level.void
error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at error level.void
error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at error level.void
error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at error level.void
error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at error level.void
error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at error level.void
error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at error level.void
error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at error level.void
error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at error level.void
error(java.lang.String message, java.lang.Throwable throwable)
Logs a message at theERROR
level including the stack trace of theThrowable
throwable
passed as parameter.void
error(java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is theERROR
level.void
error(Marker marker, java.lang.CharSequence message)
Logs a message CharSequence with theERROR
level.void
error(Marker marker, java.lang.CharSequence message, java.lang.Throwable throwable)
Logs a CharSequence at theERROR
level including the stack trace of theThrowable
throwable
passed as parameter.void
error(Marker marker, java.lang.Object message)
Logs a message object with theERROR
level.void
error(Marker marker, java.lang.Object message, java.lang.Throwable throwable)
Logs a message at theERROR
level including the stack trace of theThrowable
throwable
passed as parameter.void
error(Marker marker, java.lang.String message)
Logs a message object with theERROR
level.void
error(Marker marker, java.lang.String message, java.lang.Object p0)
Logs a message with parameters at error level.void
error(Marker marker, java.lang.String message, java.lang.Object... params)
Logs a message with parameters at theERROR
level.void
error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at error level.void
error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at error level.void
error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at error level.void
error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at error level.void
error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at error level.void
error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at error level.void
error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at error level.void
error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at error level.void
error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at error level.void
error(Marker marker, java.lang.String message, java.lang.Throwable throwable)
Logs a message at theERROR
level including the stack trace of theThrowable
throwable
passed as parameter.void
error(Marker marker, java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is theERROR
level.void
error(Marker marker, Message message)
Logs a message with the specific Marker at theERROR
level.void
error(Marker marker, Message message, java.lang.Throwable throwable)
Logs a message with the specific Marker at theERROR
level.void
error(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is theERROR
level with the specified Marker.void
error(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theERROR
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter.void
error(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Logs a message which is only to be constructed if the logging level is theERROR
level with the specified Marker.void
error(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theERROR
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter.void
error(Message message)
Logs a message with the specific Marker at theERROR
level.void
error(Message message, java.lang.Throwable throwable)
Logs a message with the specific Marker at theERROR
level.void
error(org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is theERROR
level.void
error(org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theERROR
level) including the stack trace of theThrowable
throwable
passed as parameter.void
error(org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Logs a message which is only to be constructed if the logging level is theERROR
level.void
error(org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theERROR
level) including the stack trace of theThrowable
throwable
passed as parameter.void
exit()
Deprecated.<R> R
exit(R result)
Deprecated.void
fatal(java.lang.CharSequence message)
Logs a message CharSequence with theFATAL
level.void
fatal(java.lang.CharSequence message, java.lang.Throwable throwable)
Logs a CharSequence at theFATAL
level including the stack trace of theThrowable
throwable
passed as parameter.void
fatal(java.lang.Object message)
Logs a message object with theFATAL
level.void
fatal(java.lang.Object message, java.lang.Throwable throwable)
Logs a message at theFATAL
level including the stack trace of theThrowable
throwable
passed as parameter.void
fatal(java.lang.String message)
Logs a message object with theFATAL
level.void
fatal(java.lang.String message, java.lang.Object p0)
Logs a message with parameters at fatal level.void
fatal(java.lang.String message, java.lang.Object... params)
Logs a message with parameters at theFATAL
level.void
fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at fatal level.void
fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at fatal level.void
fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at fatal level.void
fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at fatal level.void
fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at fatal level.void
fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at fatal level.void
fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at fatal level.void
fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at fatal level.void
fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at fatal level.void
fatal(java.lang.String message, java.lang.Throwable throwable)
Logs a message at theFATAL
level including the stack trace of theThrowable
throwable
passed as parameter.void
fatal(java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is theFATAL
level.void
fatal(Marker marker, java.lang.CharSequence message)
Logs a message CharSequence with theFATAL
level.void
fatal(Marker marker, java.lang.CharSequence message, java.lang.Throwable throwable)
Logs a CharSequence at theFATAL
level including the stack trace of theThrowable
throwable
passed as parameter.void
fatal(Marker marker, java.lang.Object message)
Logs a message object with theFATAL
level.void
fatal(Marker marker, java.lang.Object message, java.lang.Throwable throwable)
Logs a message at theFATAL
level including the stack trace of theThrowable
throwable
passed as parameter.void
fatal(Marker marker, java.lang.String message)
Logs a message object with theFATAL
level.void
fatal(Marker marker, java.lang.String message, java.lang.Object p0)
Logs a message with parameters at fatal level.void
fatal(Marker marker, java.lang.String message, java.lang.Object... params)
Logs a message with parameters at theFATAL
level.void
fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at fatal level.void
fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at fatal level.void
fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at fatal level.void
fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at fatal level.void
fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at fatal level.void
fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at fatal level.void
fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at fatal level.void
fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at fatal level.void
fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at fatal level.void
fatal(Marker marker, java.lang.String message, java.lang.Throwable throwable)
Logs a message at theFATAL
level including the stack trace of theThrowable
throwable
passed as parameter.void
fatal(Marker marker, java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is theFATAL
level.void
fatal(Marker marker, Message message)
Logs a message with the specific Marker at theFATAL
level.void
fatal(Marker marker, Message message, java.lang.Throwable throwable)
Logs a message with the specific Marker at theFATAL
level.void
fatal(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is theFATAL
level with the specified Marker.void
fatal(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theFATAL
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter.void
fatal(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Logs a message which is only to be constructed if the logging level is theFATAL
level with the specified Marker.void
fatal(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theFATAL
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter.void
fatal(Message message)
Logs a message with the specific Marker at theFATAL
level.void
fatal(Message message, java.lang.Throwable throwable)
Logs a message with the specific Marker at theFATAL
level.void
fatal(org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is theFATAL
level.void
fatal(org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theFATAL
level) including the stack trace of theThrowable
throwable
passed as parameter.void
fatal(org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Logs a message which is only to be constructed if the logging level is theFATAL
level.void
fatal(org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theFATAL
level) including the stack trace of theThrowable
throwable
passed as parameter.FlowMessageFactory
getFlowMessageFactory()
Gets the flow message factory used to convert messages into flow messages.<MF extends MessageFactory>
MFgetMessageFactory()
Gets the message factory used to convert message Objects and Strings/CharSequences into actual log Messages.java.lang.String
getName()
Gets the logger name.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.void
info(java.lang.CharSequence message)
Logs a message CharSequence with theINFO
level.void
info(java.lang.CharSequence message, java.lang.Throwable throwable)
Logs a CharSequence at theINFO
level including the stack trace of theThrowable
throwable
passed as parameter.void
info(java.lang.Object message)
Logs a message object with theINFO
level.void
info(java.lang.Object message, java.lang.Throwable throwable)
Logs a message at theINFO
level including the stack trace of theThrowable
throwable
passed as parameter.void
info(java.lang.String message)
Logs a message object with theINFO
level.void
info(java.lang.String message, java.lang.Object p0)
Logs a message with parameters at info level.void
info(java.lang.String message, java.lang.Object... params)
Logs a message with parameters at theINFO
level.void
info(java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at info level.void
info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at info level.void
info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at info level.void
info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at info level.void
info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at info level.void
info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at info level.void
info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at info level.void
info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at info level.void
info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at info level.void
info(java.lang.String message, java.lang.Throwable throwable)
Logs a message at theINFO
level including the stack trace of theThrowable
throwable
passed as parameter.void
info(java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is theINFO
level.void
info(Marker marker, java.lang.CharSequence message)
Logs a message CharSequence with theINFO
level.void
info(Marker marker, java.lang.CharSequence message, java.lang.Throwable throwable)
Logs a CharSequence at theINFO
level including the stack trace of theThrowable
throwable
passed as parameter.void
info(Marker marker, java.lang.Object message)
Logs a message object with theINFO
level.void
info(Marker marker, java.lang.Object message, java.lang.Throwable throwable)
Logs a message at theINFO
level including the stack trace of theThrowable
throwable
passed as parameter.void
info(Marker marker, java.lang.String message)
Logs a message object with theINFO
level.void
info(Marker marker, java.lang.String message, java.lang.Object p0)
Logs a message with parameters at info level.void
info(Marker marker, java.lang.String message, java.lang.Object... params)
Logs a message with parameters at theINFO
level.void
info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at info level.void
info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at info level.void
info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at info level.void
info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at info level.void
info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at info level.void
info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at info level.void
info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at info level.void
info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at info level.void
info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at info level.void
info(Marker marker, java.lang.String message, java.lang.Throwable throwable)
Logs a message at theINFO
level including the stack trace of theThrowable
throwable
passed as parameter.void
info(Marker marker, java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is theINFO
level.void
info(Marker marker, Message message)
Logs a message with the specific Marker at theINFO
level.void
info(Marker marker, Message message, java.lang.Throwable throwable)
Logs a message with the specific Marker at theINFO
level.void
info(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is theINFO
level with the specified Marker.void
info(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theINFO
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter.void
info(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Logs a message which is only to be constructed if the logging level is theINFO
level with the specified Marker.void
info(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theINFO
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter.void
info(Message message)
Logs a message with the specific Marker at theINFO
level.void
info(Message message, java.lang.Throwable throwable)
Logs a message with the specific Marker at theINFO
level.void
info(org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is theINFO
level.void
info(org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theINFO
level) including the stack trace of theThrowable
throwable
passed as parameter.void
info(org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Logs a message which is only to be constructed if the logging level is theINFO
level.void
info(org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theINFO
level) including the stack trace of theThrowable
throwable
passed as parameter.boolean
isDebugEnabled()
Checks whether this Logger is enabled for theDEBUG
Level.boolean
isDebugEnabled(Marker marker)
Checks whether this Logger is enabled for theDEBUG
Level.boolean
isEnabled(Level level)
Checks whether this Logger is enabled for the given Level.boolean
isEnabled(Level level, Marker marker)
Checks whether this Logger is enabled for the given Level and Marker.boolean
isErrorEnabled()
Checks whether this Logger is enabled for theERROR
Level.boolean
isErrorEnabled(Marker marker)
Checks whether this Logger is enabled for theERROR
Level.boolean
isFatalEnabled()
Checks whether this Logger is enabled for theFATAL
Level.boolean
isFatalEnabled(Marker marker)
Checks whether this Logger is enabled for theFATAL
Level.boolean
isInfoEnabled()
Checks whether this Logger is enabled for theINFO
Level.boolean
isInfoEnabled(Marker marker)
Checks whether this Logger is enabled for theINFO
Level.boolean
isTraceEnabled()
Checks whether this Logger is enabled for theTRACE
level.boolean
isTraceEnabled(Marker marker)
Checks whether this Logger is enabled for theTRACE
level.boolean
isWarnEnabled()
Checks whether this Logger is enabled for theWARN
Level.boolean
isWarnEnabled(Marker marker)
Checks whether this Logger is enabled for theWARN
Level.void
log(Level level, java.lang.CharSequence message)
Logs a message CharSequence with the given level.void
log(Level level, java.lang.CharSequence message, java.lang.Throwable throwable)
Logs a CharSequence at the given level including the stack trace of theThrowable
throwable
passed as parameter.void
log(Level level, java.lang.Object message)
Logs a message object with the given level.void
log(Level level, java.lang.Object message, java.lang.Throwable throwable)
Logs a message at the given level including the stack trace of theThrowable
throwable
passed as parameter.void
log(Level level, java.lang.String message)
Logs a message object with the given level.void
log(Level level, java.lang.String message, java.lang.Object p0)
Logs a message with parameters at the specified level.void
log(Level level, java.lang.String message, java.lang.Object... params)
Logs a message with parameters at the given level.void
log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at the specified level.void
log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at the specified level.void
log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at the specified level.void
log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at the specified level.void
log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at the specified level.void
log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at the specified level.void
log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at the specified level.void
log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at the specified level.void
log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at the specified level.void
log(Level level, java.lang.String message, java.lang.Throwable throwable)
Logs a message at the given level including the stack trace of theThrowable
throwable
passed as parameter.void
log(Level level, java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is the specified level.void
log(Level level, Marker marker, java.lang.CharSequence message)
Logs a message CharSequence with the given level.void
log(Level level, Marker marker, java.lang.CharSequence message, java.lang.Throwable throwable)
Logs a CharSequence at the given level including the stack trace of theThrowable
throwable
passed as parameter.void
log(Level level, Marker marker, java.lang.Object message)
Logs a message object with the given level.void
log(Level level, Marker marker, java.lang.Object message, java.lang.Throwable throwable)
Logs a message at the given level including the stack trace of theThrowable
throwable
passed as parameter.void
log(Level level, Marker marker, java.lang.String message)
Logs a message object with the given level.void
log(Level level, Marker marker, java.lang.String message, java.lang.Object p0)
Logs a message with parameters at the specified level.void
log(Level level, Marker marker, java.lang.String message, java.lang.Object... params)
Logs a message with parameters at the given level.void
log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at the specified level.void
log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at the specified level.void
log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at the specified level.void
log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at the specified level.void
log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at the specified level.void
log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at the specified level.void
log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at the specified level.void
log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at the specified level.void
log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at the specified level.void
log(Level level, Marker marker, java.lang.String message, java.lang.Throwable throwable)
Logs a message at the given level including the stack trace of theThrowable
throwable
passed as parameter.void
log(Level level, Marker marker, java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is the specified level.void
log(Level level, Marker marker, Message message)
Logs a message with the specific Marker at the given level.void
log(Level level, Marker marker, Message message, java.lang.Throwable throwable)
Logs a message with the specific Marker at the given level.void
log(Level level, Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is the specified level with the specified Marker.void
log(Level level, Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
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 theThrowable
throwable
passed as parameter.void
log(Level level, Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Logs a message (only to be constructed if the logging level is the specified level) with the specified Marker.void
log(Level level, Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
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 theThrowable
throwable
passed as parameter.void
log(Level level, Message message)
Logs a message with the specific Marker at the given level.void
log(Level level, Message message, java.lang.Throwable throwable)
Logs a message with the specific Marker at the given level.void
log(Level level, org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is the specified level.void
log(Level level, org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is the specified level) including the stack log of theThrowable
throwable
passed as parameter.void
log(Level level, org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Logs a message which is only to be constructed if the logging level is the specified level.void
log(Level level, org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is the specified level) including the stack log of theThrowable
throwable
passed as parameter.void
logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.CharSequence message, java.lang.Throwable throwable)
Logs a CharSequence message if the specified level is active.void
logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.Object message, java.lang.Throwable throwable)
Logs a message if the specified level is active.void
logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message)
Logs a message if the specified level is active.void
logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0)
Logs a message if the specified level is active.void
logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object... params)
Logs a message if the specified level is active.void
logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message if the specified level is active.void
logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message if the specified level is active.void
logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message if the specified level is active.void
logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message if the specified level is active.void
logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message if the specified level is active.void
logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message if the specified level is active.void
logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message if the specified level is active.void
logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message if the specified level is active.void
logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message if the specified level is active.void
logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Throwable throwable)
Logs a message if the specified level is active.void
logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Logs a message whose parameters are only to be constructed if the specified level is active.void
logIfEnabled(java.lang.String fqcn, Level level, Marker marker, Message message, java.lang.Throwable throwable)
Logs a message if the specified level is active.void
logIfEnabled(java.lang.String fqcn, Level level, Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Logs a message which is only to be constructed if the specified level is active.void
logIfEnabled(java.lang.String fqcn, Level level, Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Logs a message which is only to be constructed if the specified level is active.void
logMessage(Level level, Marker marker, java.lang.String fqcn, java.lang.StackTraceElement location, Message message, java.lang.Throwable throwable)
Logs a Message.void
printf(Level level, java.lang.String format, java.lang.Object... params)
Logs a formatted message using the specified format string and arguments.void
printf(Level level, Marker marker, java.lang.String format, java.lang.Object... params)
Logs a formatted message using the specified format string and arguments.<T extends java.lang.Throwable>
Tthrowing(Level level, T throwable)
Logs aThrowable
to be thrown.<T extends java.lang.Throwable>
Tthrowing(T throwable)
Logs aThrowable
to be thrown at theERROR
level.void
trace(java.lang.CharSequence message)
Logs a message CharSequence with theTRACE
level.void
trace(java.lang.CharSequence message, java.lang.Throwable throwable)
Logs a CharSequence at theTRACE
level including the stack trace of theThrowable
throwable
passed as parameter.void
trace(java.lang.Object message)
Logs a message object with theTRACE
level.void
trace(java.lang.Object message, java.lang.Throwable throwable)
Logs a message at theTRACE
level including the stack trace of theThrowable
throwable
passed as parameter.void
trace(java.lang.String message)
Logs a message object with theTRACE
level.void
trace(java.lang.String message, java.lang.Object p0)
Logs a message with parameters at trace level.void
trace(java.lang.String message, java.lang.Object... params)
Logs a message with parameters at theTRACE
level.void
trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at trace level.void
trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at trace level.void
trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at trace level.void
trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at trace level.void
trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at trace level.void
trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at trace level.void
trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at trace level.void
trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at trace level.void
trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at trace level.void
trace(java.lang.String message, java.lang.Throwable throwable)
Logs a message at theTRACE
level including the stack trace of theThrowable
throwable
passed as parameter.void
trace(java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is theTRACE
level.void
trace(Marker marker, java.lang.CharSequence message)
Logs a message CharSequence with theTRACE
level.void
trace(Marker marker, java.lang.CharSequence message, java.lang.Throwable throwable)
Logs a CharSequence at theTRACE
level including the stack trace of theThrowable
throwable
passed as parameter.void
trace(Marker marker, java.lang.Object message)
Logs a message object with theTRACE
level.void
trace(Marker marker, java.lang.Object message, java.lang.Throwable throwable)
Logs a message at theTRACE
level including the stack trace of theThrowable
throwable
passed as parameter.void
trace(Marker marker, java.lang.String message)
Logs a message object with theTRACE
level.void
trace(Marker marker, java.lang.String message, java.lang.Object p0)
Logs a message with parameters at trace level.void
trace(Marker marker, java.lang.String message, java.lang.Object... params)
Logs a message with parameters at theTRACE
level.void
trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at trace level.void
trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at trace level.void
trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at trace level.void
trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at trace level.void
trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at trace level.void
trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at trace level.void
trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at trace level.void
trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at trace level.void
trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at trace level.void
trace(Marker marker, java.lang.String message, java.lang.Throwable throwable)
Logs a message at theTRACE
level including the stack trace of theThrowable
throwable
passed as parameter.void
trace(Marker marker, java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is theTRACE
level.void
trace(Marker marker, Message message)
Logs a message with the specific Marker at theTRACE
level.void
trace(Marker marker, Message message, java.lang.Throwable throwable)
Logs a message with the specific Marker at theTRACE
level.void
trace(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is theTRACE
level with the specified Marker.void
trace(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theTRACE
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter.void
trace(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Logs a message which is only to be constructed if the logging level is theTRACE
level with the specified Marker.void
trace(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theTRACE
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter.void
trace(Message message)
Logs a message with the specific Marker at theTRACE
level.void
trace(Message message, java.lang.Throwable throwable)
Logs a message with the specific Marker at theTRACE
level.void
trace(org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is theTRACE
level.void
trace(org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theTRACE
level) including the stack trace of theThrowable
throwable
passed as parameter.void
trace(org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Logs a message which is only to be constructed if the logging level is theTRACE
level.void
trace(org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theTRACE
level) including the stack trace of theThrowable
throwable
passed as parameter.EntryMessage
traceEntry()
Logs entry to a method.EntryMessage
traceEntry(java.lang.String format, java.lang.Object... params)
Logs entry to a method along with its parameters.EntryMessage
traceEntry(java.lang.String format, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Logs entry to a method along with its parameters.EntryMessage
traceEntry(Message message)
Logs entry to a method using a Message to describe the parameters.EntryMessage
traceEntry(org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Logs entry to a method along with its parameters.void
traceExit()
Logs exit from a method.<R> R
traceExit(java.lang.String format, R result)
Logs exiting from a method with the result.void
traceExit(EntryMessage message)
Logs exiting from a method with no result.<R> R
traceExit(EntryMessage message, R result)
Logs exiting from a method with the result.<R> R
traceExit(Message message, R result)
Logs exiting from a method with the result.<R> R
traceExit(R result)
Logs exiting from a method with the result.void
warn(java.lang.CharSequence message)
Logs a message CharSequence with theWARN
level.void
warn(java.lang.CharSequence message, java.lang.Throwable throwable)
Logs a CharSequence at theWARN
level including the stack trace of theThrowable
throwable
passed as parameter.void
warn(java.lang.Object message)
Logs a message object with theWARN
level.void
warn(java.lang.Object message, java.lang.Throwable throwable)
Logs a message at theWARN
level including the stack trace of theThrowable
throwable
passed as parameter.void
warn(java.lang.String message)
Logs a message object with theWARN
level.void
warn(java.lang.String message, java.lang.Object p0)
Logs a message with parameters at warn level.void
warn(java.lang.String message, java.lang.Object... params)
Logs a message with parameters at theWARN
level.void
warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at warn level.void
warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at warn level.void
warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at warn level.void
warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at warn level.void
warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at warn level.void
warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at warn level.void
warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at warn level.void
warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at warn level.void
warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at warn level.void
warn(java.lang.String message, java.lang.Throwable throwable)
Logs a message at theWARN
level including the stack trace of theThrowable
throwable
passed as parameter.void
warn(java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is theWARN
level.void
warn(Marker marker, java.lang.CharSequence message)
Logs a message CharSequence with theWARN
level.void
warn(Marker marker, java.lang.CharSequence message, java.lang.Throwable throwable)
Logs a CharSequence at theWARN
level including the stack trace of theThrowable
throwable
passed as parameter.void
warn(Marker marker, java.lang.Object message)
Logs a message object with theWARN
level.void
warn(Marker marker, java.lang.Object message, java.lang.Throwable throwable)
Logs a message at theWARN
level including the stack trace of theThrowable
throwable
passed as parameter.void
warn(Marker marker, java.lang.String message)
Logs a message object with theWARN
level.void
warn(Marker marker, java.lang.String message, java.lang.Object p0)
Logs a message with parameters at warn level.void
warn(Marker marker, java.lang.String message, java.lang.Object... params)
Logs a message with parameters at theWARN
level.void
warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at warn level.void
warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at warn level.void
warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at warn level.void
warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at warn level.void
warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at warn level.void
warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at warn level.void
warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at warn level.void
warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at warn level.void
warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at warn level.void
warn(Marker marker, java.lang.String message, java.lang.Throwable throwable)
Logs a message at theWARN
level including the stack trace of theThrowable
throwable
passed as parameter.void
warn(Marker marker, java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is theWARN
level.void
warn(Marker marker, Message message)
Logs a message with the specific Marker at theWARN
level.void
warn(Marker marker, Message message, java.lang.Throwable throwable)
Logs a message with the specific Marker at theWARN
level.void
warn(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is theWARN
level with the specified Marker.void
warn(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theWARN
level) with the specified Marker and including the stack warn of theThrowable
throwable
passed as parameter.void
warn(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Logs a message which is only to be constructed if the logging level is theWARN
level with the specified Marker.void
warn(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theWARN
level) with the specified Marker and including the stack warn of theThrowable
throwable
passed as parameter.void
warn(Message message)
Logs a message with the specific Marker at theWARN
level.void
warn(Message message, java.lang.Throwable throwable)
Logs a message with the specific Marker at theWARN
level.void
warn(org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is theWARN
level.void
warn(org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theWARN
level) including the stack warn of theThrowable
throwable
passed as parameter.void
warn(org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Logs a message which is only to be constructed if the logging level is theWARN
level.void
warn(org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Logs a message (only to be constructed if the logging level is theWARN
level) including the stack warn of theThrowable
throwable
passed as parameter.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
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 java.lang.Class<? extends MessageFactory> DEFAULT_MESSAGE_FACTORY_CLASS
The default MessageFactory class.
-
DEFAULT_FLOW_MESSAGE_FACTORY_CLASS
public static final java.lang.Class<? extends FlowMessageFactory> DEFAULT_FLOW_MESSAGE_FACTORY_CLASS
The default FlowMessageFactory class.
-
-
Constructor Detail
-
AbstractLogger
public AbstractLogger()
Creates a new logger named after this class (or subclass).
-
AbstractLogger
public AbstractLogger(java.lang.String name)
Creates a new named logger.- Parameters:
name
- the logger name
-
AbstractLogger
public AbstractLogger(java.lang.String name, MessageFactory messageFactory)
Creates a new named logger with a particularMessageFactory
.- Parameters:
name
- the logger namemessageFactory
- the message factory, if null then use the default message factory.
-
-
Method Detail
-
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 MessageFactoryDEFAULT_MESSAGE_FACTORY_CLASS
.- Parameters:
logger
- The logger to checkmessageFactory
- The message factory to check.
-
catching
public void catching(Level level, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs aThrowable
that has been caught to a specific logging level.
-
catching
public void catching(java.lang.Throwable throwable)
Description copied from interface:Logger
Logs aThrowable
that has been caught at theERROR
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 amain()
method), this method is ideal for it.
-
debug
public void debug(Marker marker, java.lang.CharSequence message)
Description copied from interface:Logger
Logs a message CharSequence with theDEBUG
level.
-
debug
public void debug(Marker marker, java.lang.CharSequence message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message CharSequence at theDEBUG
level including the stack trace of theThrowable
throwable
passed as parameter.
-
debug
public void debug(Marker marker, Message message)
Description copied from interface:Logger
Logs a message with the specific Marker at theDEBUG
level.
-
debug
public void debug(Marker marker, Message message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message with the specific Marker at theDEBUG
level.
-
debug
public void debug(Marker marker, java.lang.Object message)
Description copied from interface:Logger
Logs a message object with theDEBUG
level.
-
debug
public void debug(Marker marker, java.lang.Object message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theDEBUG
level including the stack trace of theThrowable
throwable
passed as parameter.
-
debug
public void debug(Marker marker, java.lang.String message)
Description copied from interface:Logger
Logs a message object with theDEBUG
level.
-
debug
public void debug(Marker marker, java.lang.String message, java.lang.Object... params)
Description copied from interface:Logger
Logs a message with parameters at theDEBUG
level.- Specified by:
debug
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- the message to log; the format depends on the message factory.params
- parameters to the message.- See Also:
Logger.getMessageFactory()
-
debug
public void debug(Marker marker, java.lang.String message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theDEBUG
level including the stack trace of theThrowable
throwable
passed as parameter.
-
debug
public void debug(Message message)
Description copied from interface:Logger
Logs a message with the specific Marker at theDEBUG
level.
-
debug
public void debug(Message message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message with the specific Marker at theDEBUG
level.
-
debug
public void debug(java.lang.CharSequence message)
Description copied from interface:Logger
Logs a message CharSequence with theDEBUG
level.
-
debug
public void debug(java.lang.CharSequence message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a CharSequence at theDEBUG
level including the stack trace of theThrowable
throwable
passed as parameter.
-
debug
public void debug(java.lang.Object message)
Description copied from interface:Logger
Logs a message object with theDEBUG
level.
-
debug
public void debug(java.lang.Object message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theDEBUG
level including the stack trace of theThrowable
throwable
passed as parameter.
-
debug
public void debug(java.lang.String message)
Description copied from interface:Logger
Logs a message object with theDEBUG
level.
-
debug
public void debug(java.lang.String message, java.lang.Object... params)
Description copied from interface:Logger
Logs a message with parameters at theDEBUG
level.- Specified by:
debug
in interfaceLogger
- Parameters:
message
- the message to log; the format depends on the message factory.params
- parameters to the message.- See Also:
Logger.getMessageFactory()
-
debug
public void debug(java.lang.String message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theDEBUG
level including the stack trace of theThrowable
throwable
passed as parameter.
-
debug
public void debug(org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theDEBUG
level.
-
debug
public void debug(org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theDEBUG
level) including the stack trace of theThrowable
throwable
passed as parameter.
-
debug
public void debug(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theDEBUG
level with the specified Marker.
-
debug
public void debug(Marker marker, java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Description copied from interface:Logger
Logs a message with parameters which are only to be constructed if the logging level is theDEBUG
level.
-
debug
public void debug(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theDEBUG
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter.
-
debug
public void debug(java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Description copied from interface:Logger
Logs a message with parameters which are only to be constructed if the logging level is theDEBUG
level.
-
debug
public void debug(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theDEBUG
level with the specified Marker. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
debug
public void debug(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theDEBUG
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
debug
public void debug(org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theDEBUG
level. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
debug
public void debug(org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theDEBUG
level) including the stack trace of theThrowable
throwable
passed as parameter. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
debug
public void debug(Marker marker, java.lang.String message, java.lang.Object p0)
Description copied from interface:Logger
Logs a message with parameters at debug level.
-
debug
public void debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Description copied from interface:Logger
Logs a message with parameters at debug level.
-
debug
public void debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Description copied from interface:Logger
Logs a message with parameters at debug level.
-
debug
public void debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Description copied from interface:Logger
Logs a message with parameters at debug level.- Specified by:
debug
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Description copied from interface:Logger
Logs a message with parameters at debug level.- Specified by:
debug
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Description copied from interface:Logger
Logs a message with parameters at debug level.- Specified by:
debug
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Description copied from interface:Logger
Logs a message with parameters at debug level.- Specified by:
debug
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Description copied from interface:Logger
Logs a message with parameters at debug level.- Specified by:
debug
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Description copied from interface:Logger
Logs a message with parameters at debug level.- Specified by:
debug
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Description copied from interface:Logger
Logs a message with parameters at debug level.- Specified by:
debug
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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(java.lang.String message, java.lang.Object p0)
Description copied from interface:Logger
Logs a message with parameters at debug level.
-
debug
public void debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Description copied from interface:Logger
Logs a message with parameters at debug level.
-
debug
public void debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Description copied from interface:Logger
Logs a message with parameters at debug level.
-
debug
public void debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Description copied from interface:Logger
Logs a message with parameters at debug level.
-
debug
public void debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Description copied from interface:Logger
Logs a message with parameters at debug level.
-
debug
public void debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Description copied from interface:Logger
Logs a message with parameters at debug level.- Specified by:
debug
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Description copied from interface:Logger
Logs a message with parameters at debug level.- Specified by:
debug
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Description copied from interface:Logger
Logs a message with parameters at debug level.- Specified by:
debug
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Description copied from interface:Logger
Logs a message with parameters at debug level.- Specified by:
debug
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Description copied from interface:Logger
Logs a message with parameters at debug level.- Specified by:
debug
in interfaceLogger
- 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.
-
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.
-
entry
public void entry(java.lang.Object... params)
Description copied from interface:Logger
Logs entry to a method along with its parameters (consider using one of thetraceEntry(...)
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.
-
error
public void error(Marker marker, Message message)
Description copied from interface:Logger
Logs a message with the specific Marker at theERROR
level.
-
error
public void error(Marker marker, Message message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message with the specific Marker at theERROR
level.
-
error
public void error(Marker marker, java.lang.CharSequence message)
Description copied from interface:Logger
Logs a message CharSequence with theERROR
level.
-
error
public void error(Marker marker, java.lang.CharSequence message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a CharSequence at theERROR
level including the stack trace of theThrowable
throwable
passed as parameter.
-
error
public void error(Marker marker, java.lang.Object message)
Description copied from interface:Logger
Logs a message object with theERROR
level.
-
error
public void error(Marker marker, java.lang.Object message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theERROR
level including the stack trace of theThrowable
throwable
passed as parameter.
-
error
public void error(Marker marker, java.lang.String message)
Description copied from interface:Logger
Logs a message object with theERROR
level.
-
error
public void error(Marker marker, java.lang.String message, java.lang.Object... params)
Description copied from interface:Logger
Logs a message with parameters at theERROR
level.- Specified by:
error
in interfaceLogger
- 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:
Logger.getMessageFactory()
-
error
public void error(Marker marker, java.lang.String message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theERROR
level including the stack trace of theThrowable
throwable
passed as parameter.
-
error
public void error(Message message)
Description copied from interface:Logger
Logs a message with the specific Marker at theERROR
level.
-
error
public void error(Message message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message with the specific Marker at theERROR
level.
-
error
public void error(java.lang.CharSequence message)
Description copied from interface:Logger
Logs a message CharSequence with theERROR
level.
-
error
public void error(java.lang.CharSequence message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a CharSequence at theERROR
level including the stack trace of theThrowable
throwable
passed as parameter.
-
error
public void error(java.lang.Object message)
Description copied from interface:Logger
Logs a message object with theERROR
level.
-
error
public void error(java.lang.Object message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theERROR
level including the stack trace of theThrowable
throwable
passed as parameter.
-
error
public void error(java.lang.String message)
Description copied from interface:Logger
Logs a message object with theERROR
level.
-
error
public void error(java.lang.String message, java.lang.Object... params)
Description copied from interface:Logger
Logs a message with parameters at theERROR
level.- Specified by:
error
in interfaceLogger
- Parameters:
message
- the message to log; the format depends on the message factory.params
- parameters to the message.- See Also:
Logger.getMessageFactory()
-
error
public void error(java.lang.String message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theERROR
level including the stack trace of theThrowable
throwable
passed as parameter.
-
error
public void error(org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theERROR
level.
-
error
public void error(org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theERROR
level) including the stack trace of theThrowable
throwable
passed as parameter.
-
error
public void error(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theERROR
level with the specified Marker.
-
error
public void error(Marker marker, java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Description copied from interface:Logger
Logs a message with parameters which are only to be constructed if the logging level is theERROR
level.
-
error
public void error(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theERROR
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter.
-
error
public void error(java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Description copied from interface:Logger
Logs a message with parameters which are only to be constructed if the logging level is theERROR
level.
-
error
public void error(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theERROR
level with the specified Marker. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
error
public void error(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theERROR
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
error
public void error(org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theERROR
level. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
error
public void error(org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theERROR
level) including the stack trace of theThrowable
throwable
passed as parameter. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
error
public void error(Marker marker, java.lang.String message, java.lang.Object p0)
Description copied from interface:Logger
Logs a message with parameters at error level.
-
error
public void error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Description copied from interface:Logger
Logs a message with parameters at error level.
-
error
public void error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Description copied from interface:Logger
Logs a message with parameters at error level.
-
error
public void error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Description copied from interface:Logger
Logs a message with parameters at error level.- Specified by:
error
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Description copied from interface:Logger
Logs a message with parameters at error level.- Specified by:
error
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Description copied from interface:Logger
Logs a message with parameters at error level.- Specified by:
error
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Description copied from interface:Logger
Logs a message with parameters at error level.- Specified by:
error
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Description copied from interface:Logger
Logs a message with parameters at error level.- Specified by:
error
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Description copied from interface:Logger
Logs a message with parameters at error level.- Specified by:
error
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Description copied from interface:Logger
Logs a message with parameters at error level.- Specified by:
error
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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(java.lang.String message, java.lang.Object p0)
Description copied from interface:Logger
Logs a message with parameters at error level.
-
error
public void error(java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Description copied from interface:Logger
Logs a message with parameters at error level.
-
error
public void error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Description copied from interface:Logger
Logs a message with parameters at error level.
-
error
public void error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Description copied from interface:Logger
Logs a message with parameters at error level.
-
error
public void error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Description copied from interface:Logger
Logs a message with parameters at error level.
-
error
public void error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Description copied from interface:Logger
Logs a message with parameters at error level.- Specified by:
error
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Description copied from interface:Logger
Logs a message with parameters at error level.- Specified by:
error
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Description copied from interface:Logger
Logs a message with parameters at error level.- Specified by:
error
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Description copied from interface:Logger
Logs a message with parameters at error level.- Specified by:
error
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Description copied from interface:Logger
Logs a message with parameters at error level.- Specified by:
error
in interfaceLogger
- 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.
-
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);
-
fatal
public void fatal(Marker marker, Message message)
Description copied from interface:Logger
Logs a message with the specific Marker at theFATAL
level.
-
fatal
public void fatal(Marker marker, Message message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message with the specific Marker at theFATAL
level.
-
fatal
public void fatal(Marker marker, java.lang.CharSequence message)
Description copied from interface:Logger
Logs a message CharSequence with theFATAL
level.
-
fatal
public void fatal(Marker marker, java.lang.CharSequence message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a CharSequence at theFATAL
level including the stack trace of theThrowable
throwable
passed as parameter.
-
fatal
public void fatal(Marker marker, java.lang.Object message)
Description copied from interface:Logger
Logs a message object with theFATAL
level.
-
fatal
public void fatal(Marker marker, java.lang.Object message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theFATAL
level including the stack trace of theThrowable
throwable
passed as parameter.
-
fatal
public void fatal(Marker marker, java.lang.String message)
Description copied from interface:Logger
Logs a message object with theFATAL
level.
-
fatal
public void fatal(Marker marker, java.lang.String message, java.lang.Object... params)
Description copied from interface:Logger
Logs a message with parameters at theFATAL
level.- Specified by:
fatal
in interfaceLogger
- 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:
Logger.getMessageFactory()
-
fatal
public void fatal(Marker marker, java.lang.String message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theFATAL
level including the stack trace of theThrowable
throwable
passed as parameter.
-
fatal
public void fatal(Message message)
Description copied from interface:Logger
Logs a message with the specific Marker at theFATAL
level.
-
fatal
public void fatal(Message message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message with the specific Marker at theFATAL
level.
-
fatal
public void fatal(java.lang.CharSequence message)
Description copied from interface:Logger
Logs a message CharSequence with theFATAL
level.
-
fatal
public void fatal(java.lang.CharSequence message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a CharSequence at theFATAL
level including the stack trace of theThrowable
throwable
passed as parameter.
-
fatal
public void fatal(java.lang.Object message)
Description copied from interface:Logger
Logs a message object with theFATAL
level.
-
fatal
public void fatal(java.lang.Object message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theFATAL
level including the stack trace of theThrowable
throwable
passed as parameter.
-
fatal
public void fatal(java.lang.String message)
Description copied from interface:Logger
Logs a message object with theFATAL
level.
-
fatal
public void fatal(java.lang.String message, java.lang.Object... params)
Description copied from interface:Logger
Logs a message with parameters at theFATAL
level.- Specified by:
fatal
in interfaceLogger
- Parameters:
message
- the message to log; the format depends on the message factory.params
- parameters to the message.- See Also:
Logger.getMessageFactory()
-
fatal
public void fatal(java.lang.String message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theFATAL
level including the stack trace of theThrowable
throwable
passed as parameter.
-
fatal
public void fatal(org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theFATAL
level.
-
fatal
public void fatal(org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theFATAL
level) including the stack trace of theThrowable
throwable
passed as parameter.
-
fatal
public void fatal(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theFATAL
level with the specified Marker.
-
fatal
public void fatal(Marker marker, java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Description copied from interface:Logger
Logs a message with parameters which are only to be constructed if the logging level is theFATAL
level.
-
fatal
public void fatal(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theFATAL
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter.
-
fatal
public void fatal(java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Description copied from interface:Logger
Logs a message with parameters which are only to be constructed if the logging level is theFATAL
level.
-
fatal
public void fatal(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theFATAL
level with the specified Marker. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
fatal
public void fatal(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theFATAL
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
fatal
public void fatal(org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theFATAL
level. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
fatal
public void fatal(org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theFATAL
level) including the stack trace of theThrowable
throwable
passed as parameter. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
fatal
public void fatal(Marker marker, java.lang.String message, java.lang.Object p0)
Description copied from interface:Logger
Logs a message with parameters at fatal level.
-
fatal
public void fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Description copied from interface:Logger
Logs a message with parameters at fatal level.
-
fatal
public void fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Description copied from interface:Logger
Logs a message with parameters at fatal level.
-
fatal
public void fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Description copied from interface:Logger
Logs a message with parameters at fatal level.- Specified by:
fatal
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Description copied from interface:Logger
Logs a message with parameters at fatal level.- Specified by:
fatal
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Description copied from interface:Logger
Logs a message with parameters at fatal level.- Specified by:
fatal
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Description copied from interface:Logger
Logs a message with parameters at fatal level.- Specified by:
fatal
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Description copied from interface:Logger
Logs a message with parameters at fatal level.- Specified by:
fatal
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Description copied from interface:Logger
Logs a message with parameters at fatal level.- Specified by:
fatal
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Description copied from interface:Logger
Logs a message with parameters at fatal level.- Specified by:
fatal
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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(java.lang.String message, java.lang.Object p0)
Description copied from interface:Logger
Logs a message with parameters at fatal level.
-
fatal
public void fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Description copied from interface:Logger
Logs a message with parameters at fatal level.
-
fatal
public void fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Description copied from interface:Logger
Logs a message with parameters at fatal level.
-
fatal
public void fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Description copied from interface:Logger
Logs a message with parameters at fatal level.
-
fatal
public void fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Description copied from interface:Logger
Logs a message with parameters at fatal level.
-
fatal
public void fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Description copied from interface:Logger
Logs a message with parameters at fatal level.- Specified by:
fatal
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Description copied from interface:Logger
Logs a message with parameters at fatal level.- Specified by:
fatal
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Description copied from interface:Logger
Logs a message with parameters at fatal level.- Specified by:
fatal
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Description copied from interface:Logger
Logs a message with parameters at fatal level.- Specified by:
fatal
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Description copied from interface:Logger
Logs a message with parameters at fatal level.- Specified by:
fatal
in interfaceLogger
- 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 theMessageFactory2
interface. From version 2.6.2, the return type of this method was changed fromMessageFactory
to<MF extends MessageFactory> MF
. The returned factory will always implementMessageFactory2
, but the return type of this method could not be changed toMessageFactory2
without breaking binary compatibility.- Specified by:
getMessageFactory
in interfaceLogger
- 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 interfaceLogger
- Returns:
- the flow message factory, as an instance of
FlowMessageFactory
.
-
getName
public java.lang.String getName()
Description copied from interface:Logger
Gets the logger name.
-
info
public void info(Marker marker, Message message)
Description copied from interface:Logger
Logs a message with the specific Marker at theINFO
level.
-
info
public void info(Marker marker, Message message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message with the specific Marker at theINFO
level.
-
info
public void info(Marker marker, java.lang.CharSequence message)
Description copied from interface:Logger
Logs a message CharSequence with theINFO
level.
-
info
public void info(Marker marker, java.lang.CharSequence message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a CharSequence at theINFO
level including the stack trace of theThrowable
throwable
passed as parameter.
-
info
public void info(Marker marker, java.lang.Object message)
Description copied from interface:Logger
Logs a message object with theINFO
level.
-
info
public void info(Marker marker, java.lang.Object message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theINFO
level including the stack trace of theThrowable
throwable
passed as parameter.
-
info
public void info(Marker marker, java.lang.String message)
Description copied from interface:Logger
Logs a message object with theINFO
level.
-
info
public void info(Marker marker, java.lang.String message, java.lang.Object... params)
Description copied from interface:Logger
Logs a message with parameters at theINFO
level.- Specified by:
info
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- the message to log; the format depends on the message factory.params
- parameters to the message.- See Also:
Logger.getMessageFactory()
-
info
public void info(Marker marker, java.lang.String message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theINFO
level including the stack trace of theThrowable
throwable
passed as parameter.
-
info
public void info(Message message)
Description copied from interface:Logger
Logs a message with the specific Marker at theINFO
level.
-
info
public void info(Message message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message with the specific Marker at theINFO
level.
-
info
public void info(java.lang.CharSequence message)
Description copied from interface:Logger
Logs a message CharSequence with theINFO
level.
-
info
public void info(java.lang.CharSequence message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a CharSequence at theINFO
level including the stack trace of theThrowable
throwable
passed as parameter.
-
info
public void info(java.lang.Object message)
Description copied from interface:Logger
Logs a message object with theINFO
level.
-
info
public void info(java.lang.Object message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theINFO
level including the stack trace of theThrowable
throwable
passed as parameter.
-
info
public void info(java.lang.String message)
Description copied from interface:Logger
Logs a message object with theINFO
level.
-
info
public void info(java.lang.String message, java.lang.Object... params)
Description copied from interface:Logger
Logs a message with parameters at theINFO
level.- Specified by:
info
in interfaceLogger
- Parameters:
message
- the message to log; the format depends on the message factory.params
- parameters to the message.- See Also:
Logger.getMessageFactory()
-
info
public void info(java.lang.String message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theINFO
level including the stack trace of theThrowable
throwable
passed as parameter.
-
info
public void info(org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theINFO
level.
-
info
public void info(org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theINFO
level) including the stack trace of theThrowable
throwable
passed as parameter.
-
info
public void info(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theINFO
level with the specified Marker.
-
info
public void info(Marker marker, java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Description copied from interface:Logger
Logs a message with parameters which are only to be constructed if the logging level is theINFO
level.
-
info
public void info(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theINFO
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter.
-
info
public void info(java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Description copied from interface:Logger
Logs a message with parameters which are only to be constructed if the logging level is theINFO
level.
-
info
public void info(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theINFO
level with the specified Marker. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
info
public void info(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theINFO
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
info
public void info(org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theINFO
level. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
info
public void info(org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theINFO
level) including the stack trace of theThrowable
throwable
passed as parameter. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
info
public void info(Marker marker, java.lang.String message, java.lang.Object p0)
Description copied from interface:Logger
Logs a message with parameters at info level.
-
info
public void info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Description copied from interface:Logger
Logs a message with parameters at info level.
-
info
public void info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Description copied from interface:Logger
Logs a message with parameters at info level.
-
info
public void info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Description copied from interface:Logger
Logs a message with parameters at info level.- Specified by:
info
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Description copied from interface:Logger
Logs a message with parameters at info level.- Specified by:
info
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Description copied from interface:Logger
Logs a message with parameters at info level.- Specified by:
info
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Description copied from interface:Logger
Logs a message with parameters at info level.- Specified by:
info
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Description copied from interface:Logger
Logs a message with parameters at info level.- Specified by:
info
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Description copied from interface:Logger
Logs a message with parameters at info level.- Specified by:
info
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Description copied from interface:Logger
Logs a message with parameters at info level.- Specified by:
info
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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(java.lang.String message, java.lang.Object p0)
Description copied from interface:Logger
Logs a message with parameters at info level.
-
info
public void info(java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Description copied from interface:Logger
Logs a message with parameters at info level.
-
info
public void info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Description copied from interface:Logger
Logs a message with parameters at info level.
-
info
public void info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Description copied from interface:Logger
Logs a message with parameters at info level.
-
info
public void info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Description copied from interface:Logger
Logs a message with parameters at info level.
-
info
public void info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Description copied from interface:Logger
Logs a message with parameters at info level.- Specified by:
info
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Description copied from interface:Logger
Logs a message with parameters at info level.- Specified by:
info
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Description copied from interface:Logger
Logs a message with parameters at info level.- Specified by:
info
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Description copied from interface:Logger
Logs a message with parameters at info level.- Specified by:
info
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Description copied from interface:Logger
Logs a message with parameters at info level.- Specified by:
info
in interfaceLogger
- 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 theDEBUG
Level.- Specified by:
isDebugEnabled
in interfaceLogger
- 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 theDEBUG
Level.- Specified by:
isDebugEnabled
in interfaceLogger
- 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 returnstrue
.
-
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.
-
isErrorEnabled
public boolean isErrorEnabled()
Description copied from interface:Logger
Checks whether this Logger is enabled for theERROR
Level.- Specified by:
isErrorEnabled
in interfaceLogger
- Returns:
- boolean -
true
if this Logger is enabled for levelERROR
,false
otherwise.
-
isErrorEnabled
public boolean isErrorEnabled(Marker marker)
Description copied from interface:Logger
Checks whether this Logger is enabled for theERROR
Level.- Specified by:
isErrorEnabled
in interfaceLogger
- Parameters:
marker
- The Marker to check- Returns:
- boolean -
true
if this Logger is enabled for levelERROR
,false
otherwise.
-
isFatalEnabled
public boolean isFatalEnabled()
Description copied from interface:Logger
Checks whether this Logger is enabled for theFATAL
Level.- Specified by:
isFatalEnabled
in interfaceLogger
- Returns:
- boolean -
true
if this Logger is enabled for levelFATAL
,false
otherwise.
-
isFatalEnabled
public boolean isFatalEnabled(Marker marker)
Description copied from interface:Logger
Checks whether this Logger is enabled for theFATAL
Level.- Specified by:
isFatalEnabled
in interfaceLogger
- Parameters:
marker
- The Marker to check- Returns:
- boolean -
true
if this Logger is enabled for levelFATAL
,false
otherwise.
-
isInfoEnabled
public boolean isInfoEnabled()
Description copied from interface:Logger
Checks whether this Logger is enabled for theINFO
Level.- Specified by:
isInfoEnabled
in interfaceLogger
- 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 theINFO
Level.- Specified by:
isInfoEnabled
in interfaceLogger
- 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 theTRACE
level.- Specified by:
isTraceEnabled
in interfaceLogger
- 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 theTRACE
level.- Specified by:
isTraceEnabled
in interfaceLogger
- 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 theWARN
Level.- Specified by:
isWarnEnabled
in interfaceLogger
- Returns:
- boolean -
true
if this Logger is enabled for levelWARN
,false
otherwise.
-
isWarnEnabled
public boolean isWarnEnabled(Marker marker)
Description copied from interface:Logger
Checks whether this Logger is enabled for theWARN
Level.- Specified by:
isWarnEnabled
in interfaceLogger
- Parameters:
marker
- The Marker to check- Returns:
- boolean -
true
if this Logger is enabled for levelWARN
,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.
-
log
public void log(Level level, Marker marker, Message message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message with the specific Marker at the given level.
-
log
public void log(Level level, Marker marker, java.lang.CharSequence message)
Description copied from interface:Logger
Logs a message CharSequence with the given level.
-
log
public void log(Level level, Marker marker, java.lang.CharSequence message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a CharSequence at the given level including the stack trace of theThrowable
throwable
passed as parameter.
-
log
public void log(Level level, Marker marker, java.lang.Object message)
Description copied from interface:Logger
Logs a message object with the given level.
-
log
public void log(Level level, Marker marker, java.lang.Object message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at the given level including the stack trace of theThrowable
throwable
passed as parameter.
-
log
public void log(Level level, Marker marker, java.lang.String message)
Description copied from interface:Logger
Logs a message object with the given level.
-
log
public void log(Level level, Marker marker, java.lang.String message, java.lang.Object... params)
Description copied from interface:Logger
Logs a message with parameters at the given level.- Specified by:
log
in interfaceLogger
- Parameters:
level
- the logging levelmarker
- the marker data specific to this log statementmessage
- the message to log; the format depends on the message factory.params
- parameters to the message.- See Also:
Logger.getMessageFactory()
-
log
public void log(Level level, Marker marker, java.lang.String message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at the given level including the stack trace of theThrowable
throwable
passed as parameter.
-
log
public void log(Level level, Message message)
Description copied from interface:Logger
Logs a message with the specific Marker at the given level.
-
log
public void log(Level level, Message message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message with the specific Marker at the given level.
-
log
public void log(Level level, java.lang.CharSequence message)
Description copied from interface:Logger
Logs a message CharSequence with the given level.
-
log
public void log(Level level, java.lang.CharSequence message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a CharSequence at the given level including the stack trace of theThrowable
throwable
passed as parameter.
-
log
public void log(Level level, java.lang.Object message)
Description copied from interface:Logger
Logs a message object with the given level.
-
log
public void log(Level level, java.lang.Object message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at the given level including the stack trace of theThrowable
throwable
passed as parameter.
-
log
public void log(Level level, java.lang.String message)
Description copied from interface:Logger
Logs a message object with the given level.
-
log
public void log(Level level, java.lang.String message, java.lang.Object... params)
Description copied from interface:Logger
Logs a message with parameters at the given level.- Specified by:
log
in interfaceLogger
- Parameters:
level
- the logging levelmessage
- the message to log; the format depends on the message factory.params
- parameters to the message.- See Also:
Logger.getMessageFactory()
-
log
public void log(Level level, java.lang.String message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at the given level including the stack trace of theThrowable
throwable
passed as parameter.
-
log
public void log(Level level, org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is the specified level.
-
log
public void log(Level level, org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.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 theThrowable
throwable
passed as parameter.
-
log
public void log(Level level, Marker marker, org.apache.logging.log4j.util.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.
-
log
public void log(Level level, Marker marker, java.lang.String message, org.apache.logging.log4j.util.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 interfaceLogger
- Parameters:
level
- the logging levelmarker
- the marker data specific to this log statementmessage
- 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, org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.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 theThrowable
throwable
passed as parameter.
-
log
public void log(Level level, java.lang.String message, org.apache.logging.log4j.util.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.
-
log
public void log(Level level, Marker marker, org.apache.logging.log4j.util.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. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
log
public void log(Level level, Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.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 theThrowable
throwable
passed as parameter. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
log
public void log(Level level, org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is the specified level. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
log
public void log(Level level, org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.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 theThrowable
throwable
passed as parameter. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
log
public void log(Level level, Marker marker, java.lang.String message, java.lang.Object p0)
Description copied from interface:Logger
Logs a message with parameters at the specified level.
-
log
public void log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Description copied from interface:Logger
Logs a message with parameters at the specified level.
-
log
public void log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Description copied from interface:Logger
Logs a message with parameters at the specified level.
-
log
public void log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Description copied from interface:Logger
Logs a message with parameters at the specified level.- Specified by:
log
in interfaceLogger
- Parameters:
level
- the logging levelmarker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Description copied from interface:Logger
Logs a message with parameters at the specified level.- Specified by:
log
in interfaceLogger
- Parameters:
level
- the logging levelmarker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Description copied from interface:Logger
Logs a message with parameters at the specified level.- Specified by:
log
in interfaceLogger
- Parameters:
level
- the logging levelmarker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Description copied from interface:Logger
Logs a message with parameters at the specified level.- Specified by:
log
in interfaceLogger
- Parameters:
level
- the logging levelmarker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Description copied from interface:Logger
Logs a message with parameters at the specified level.- Specified by:
log
in interfaceLogger
- Parameters:
level
- the logging levelmarker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Description copied from interface:Logger
Logs a message with parameters at the specified level.- Specified by:
log
in interfaceLogger
- Parameters:
level
- the logging levelmarker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Description copied from interface:Logger
Logs a message with parameters at the specified level.- Specified by:
log
in interfaceLogger
- Parameters:
level
- the logging levelmarker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0)
Description copied from interface:Logger
Logs a message with parameters at the specified level.
-
log
public void log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Description copied from interface:Logger
Logs a message with parameters at the specified level.
-
log
public void log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Description copied from interface:Logger
Logs a message with parameters at the specified level.
-
log
public void log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Description copied from interface:Logger
Logs a message with parameters at the specified level.
-
log
public void log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Description copied from interface:Logger
Logs a message with parameters at the specified level.- Specified by:
log
in interfaceLogger
- Parameters:
level
- the logging levelmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Description copied from interface:Logger
Logs a message with parameters at the specified level.- Specified by:
log
in interfaceLogger
- Parameters:
level
- the logging levelmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Description copied from interface:Logger
Logs a message with parameters at the specified level.- Specified by:
log
in interfaceLogger
- Parameters:
level
- the logging levelmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Description copied from interface:Logger
Logs a message with parameters at the specified level.- Specified by:
log
in interfaceLogger
- Parameters:
level
- the logging levelmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Description copied from interface:Logger
Logs a message with parameters at the specified level.- Specified by:
log
in interfaceLogger
- Parameters:
level
- the logging levelmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Description copied from interface:Logger
Logs a message with parameters at the specified level.- Specified by:
log
in interfaceLogger
- Parameters:
level
- the logging levelmessage
- 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(java.lang.String fqcn, Level level, Marker marker, Message message, java.lang.Throwable throwable)
Description copied from interface:ExtendedLogger
Logs a message if the specified level is active.- Specified by:
logIfEnabled
in interfaceExtendedLogger
- 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(java.lang.String fqcn, Level level, Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.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 interfaceExtendedLogger
- 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(java.lang.String fqcn, Level level, Marker marker, java.lang.Object message, java.lang.Throwable throwable)
Description copied from interface:ExtendedLogger
Logs a message if the specified level is active.- Specified by:
logIfEnabled
in interfaceExtendedLogger
- 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(java.lang.String fqcn, Level level, Marker marker, java.lang.CharSequence message, java.lang.Throwable throwable)
Description copied from interface:ExtendedLogger
Logs a CharSequence message if the specified level is active.- Specified by:
logIfEnabled
in interfaceExtendedLogger
- 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(java.lang.String fqcn, Level level, Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.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 interfaceExtendedLogger
- 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(java.lang.String fqcn, Level level, Marker marker, java.lang.String message)
Description copied from interface:ExtendedLogger
Logs a message if the specified level is active.- Specified by:
logIfEnabled
in interfaceExtendedLogger
- 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(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, org.apache.logging.log4j.util.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 interfaceExtendedLogger
- 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(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object... params)
Description copied from interface:ExtendedLogger
Logs a message if the specified level is active.- Specified by:
logIfEnabled
in interfaceExtendedLogger
- 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(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0)
Description copied from interface:ExtendedLogger
Logs a message if the specified level is active.- Specified by:
logIfEnabled
in interfaceExtendedLogger
- 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(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Description copied from interface:ExtendedLogger
Logs a message if the specified level is active.- Specified by:
logIfEnabled
in interfaceExtendedLogger
- 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 parametersp1
- the message parameters
-
logIfEnabled
public void logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Description copied from interface:ExtendedLogger
Logs a message if the specified level is active.- Specified by:
logIfEnabled
in interfaceExtendedLogger
- 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 parametersp1
- the message parametersp2
- the message parameters
-
logIfEnabled
public void logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Description copied from interface:ExtendedLogger
Logs a message if the specified level is active.- Specified by:
logIfEnabled
in interfaceExtendedLogger
- 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 parametersp1
- the message parametersp2
- the message parametersp3
- the message parameters
-
logIfEnabled
public void logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Description copied from interface:ExtendedLogger
Logs a message if the specified level is active.- Specified by:
logIfEnabled
in interfaceExtendedLogger
- 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 parametersp1
- the message parametersp2
- the message parametersp3
- the message parametersp4
- the message parameters
-
logIfEnabled
public void logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Description copied from interface:ExtendedLogger
Logs a message if the specified level is active.- Specified by:
logIfEnabled
in interfaceExtendedLogger
- 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 parametersp1
- the message parametersp2
- the message parametersp3
- the message parametersp4
- the message parametersp5
- the message parameters
-
logIfEnabled
public void logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Description copied from interface:ExtendedLogger
Logs a message if the specified level is active.- Specified by:
logIfEnabled
in interfaceExtendedLogger
- 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 parametersp1
- the message parametersp2
- the message parametersp3
- the message parametersp4
- the message parametersp5
- the message parametersp6
- the message parameters
-
logIfEnabled
public void logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Description copied from interface:ExtendedLogger
Logs a message if the specified level is active.- Specified by:
logIfEnabled
in interfaceExtendedLogger
- 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 parametersp1
- the message parametersp2
- the message parametersp3
- the message parametersp4
- the message parametersp5
- the message parametersp6
- the message parametersp7
- the message parameters
-
logIfEnabled
public void logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Description copied from interface:ExtendedLogger
Logs a message if the specified level is active.- Specified by:
logIfEnabled
in interfaceExtendedLogger
- 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 parametersp1
- the message parametersp2
- the message parametersp3
- the message parametersp4
- the message parametersp5
- the message parametersp6
- the message parametersp7
- the message parametersp8
- the message parameters
-
logIfEnabled
public void logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Description copied from interface:ExtendedLogger
Logs a message if the specified level is active.- Specified by:
logIfEnabled
in interfaceExtendedLogger
- 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 parametersp1
- the message parametersp2
- the message parametersp3
- the message parametersp4
- the message parametersp5
- the message parametersp6
- the message parametersp7
- the message parametersp8
- the message parametersp9
- the message parameters
-
logIfEnabled
public void logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, java.lang.Throwable throwable)
Description copied from interface:ExtendedLogger
Logs a message if the specified level is active.- Specified by:
logIfEnabled
in interfaceExtendedLogger
- 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
public void logMessage(Level level, Marker marker, java.lang.String fqcn, java.lang.StackTraceElement location, Message message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a Message.- Specified by:
logMessage
in interfaceLocationAwareLogger
- Specified by:
logMessage
in interfaceLogger
- 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
- theThrowable
to log, including its stack trace.
-
printf
public void printf(Level level, Marker marker, java.lang.String format, java.lang.Object... params)
Description copied from interface:Logger
Logs a formatted message using the specified format string and arguments.
-
printf
public void printf(Level level, java.lang.String format, java.lang.Object... params)
Description copied from interface:Logger
Logs a formatted message using the specified format string and arguments.
-
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 java.lang.Throwable> T throwing(T throwable)
Description copied from interface:Logger
Logs aThrowable
to be thrown at theERROR
level. This may be coded as:throw logger.throwing(myException);
-
throwing
public <T extends java.lang.Throwable> T throwing(Level level, T throwable)
Description copied from interface:Logger
Logs aThrowable
to be thrown. This may be coded as:throw logger.throwing(Level.DEBUG, myException);
-
trace
public void trace(Marker marker, Message message)
Description copied from interface:Logger
Logs a message with the specific Marker at theTRACE
level.
-
trace
public void trace(Marker marker, Message message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message with the specific Marker at theTRACE
level.
-
trace
public void trace(Marker marker, java.lang.CharSequence message)
Description copied from interface:Logger
Logs a message CharSequence with theTRACE
level.
-
trace
public void trace(Marker marker, java.lang.CharSequence message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a CharSequence at theTRACE
level including the stack trace of theThrowable
throwable
passed as parameter.- Specified by:
trace
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- the message CharSequence to log.throwable
- theThrowable
to log, including its stack trace.- See Also:
Logger.debug(String)
-
trace
public void trace(Marker marker, java.lang.Object message)
Description copied from interface:Logger
Logs a message object with theTRACE
level.
-
trace
public void trace(Marker marker, java.lang.Object message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theTRACE
level including the stack trace of theThrowable
throwable
passed as parameter.- Specified by:
trace
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- the message object to log.throwable
- theThrowable
to log, including its stack trace.- See Also:
Logger.debug(String)
-
trace
public void trace(Marker marker, java.lang.String message)
Description copied from interface:Logger
Logs a message object with theTRACE
level.
-
trace
public void trace(Marker marker, java.lang.String message, java.lang.Object... params)
Description copied from interface:Logger
Logs a message with parameters at theTRACE
level.- Specified by:
trace
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- the message to log; the format depends on the message factory.params
- parameters to the message.- See Also:
Logger.getMessageFactory()
-
trace
public void trace(Marker marker, java.lang.String message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theTRACE
level including the stack trace of theThrowable
throwable
passed as parameter.- Specified by:
trace
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- the message object to log.throwable
- theThrowable
to log, including its stack trace.- See Also:
Logger.debug(String)
-
trace
public void trace(Message message)
Description copied from interface:Logger
Logs a message with the specific Marker at theTRACE
level.
-
trace
public void trace(Message message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message with the specific Marker at theTRACE
level.
-
trace
public void trace(java.lang.CharSequence message)
Description copied from interface:Logger
Logs a message CharSequence with theTRACE
level.
-
trace
public void trace(java.lang.CharSequence message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a CharSequence at theTRACE
level including the stack trace of theThrowable
throwable
passed as parameter.- Specified by:
trace
in interfaceLogger
- Parameters:
message
- the message CharSequence to log.throwable
- theThrowable
to log, including its stack trace.- See Also:
Logger.debug(String)
-
trace
public void trace(java.lang.Object message)
Description copied from interface:Logger
Logs a message object with theTRACE
level.
-
trace
public void trace(java.lang.Object message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theTRACE
level including the stack trace of theThrowable
throwable
passed as parameter.- Specified by:
trace
in interfaceLogger
- Parameters:
message
- the message object to log.throwable
- theThrowable
to log, including its stack trace.- See Also:
Logger.debug(String)
-
trace
public void trace(java.lang.String message)
Description copied from interface:Logger
Logs a message object with theTRACE
level.
-
trace
public void trace(java.lang.String message, java.lang.Object... params)
Description copied from interface:Logger
Logs a message with parameters at theTRACE
level.- Specified by:
trace
in interfaceLogger
- Parameters:
message
- the message to log; the format depends on the message factory.params
- parameters to the message.- See Also:
Logger.getMessageFactory()
-
trace
public void trace(java.lang.String message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theTRACE
level including the stack trace of theThrowable
throwable
passed as parameter.- Specified by:
trace
in interfaceLogger
- Parameters:
message
- the message object to log.throwable
- theThrowable
to log, including its stack trace.- See Also:
Logger.debug(String)
-
trace
public void trace(org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theTRACE
level.
-
trace
public void trace(org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theTRACE
level) including the stack trace of theThrowable
throwable
passed as parameter.
-
trace
public void trace(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theTRACE
level with the specified Marker.
-
trace
public void trace(Marker marker, java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Description copied from interface:Logger
Logs a message with parameters which are only to be constructed if the logging level is theTRACE
level.
-
trace
public void trace(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theTRACE
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter.
-
trace
public void trace(java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Description copied from interface:Logger
Logs a message with parameters which are only to be constructed if the logging level is theTRACE
level.
-
trace
public void trace(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theTRACE
level with the specified Marker. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
trace
public void trace(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theTRACE
level) with the specified Marker and including the stack trace of theThrowable
throwable
passed as parameter. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
trace
public void trace(org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theTRACE
level. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
trace
public void trace(org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theTRACE
level) including the stack trace of theThrowable
throwable
passed as parameter. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
trace
public void trace(Marker marker, java.lang.String message, java.lang.Object p0)
Description copied from interface:Logger
Logs a message with parameters at trace level.
-
trace
public void trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Description copied from interface:Logger
Logs a message with parameters at trace level.
-
trace
public void trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Description copied from interface:Logger
Logs a message with parameters at trace level.
-
trace
public void trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Description copied from interface:Logger
Logs a message with parameters at trace level.- Specified by:
trace
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Description copied from interface:Logger
Logs a message with parameters at trace level.- Specified by:
trace
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Description copied from interface:Logger
Logs a message with parameters at trace level.- Specified by:
trace
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Description copied from interface:Logger
Logs a message with parameters at trace level.- Specified by:
trace
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Description copied from interface:Logger
Logs a message with parameters at trace level.- Specified by:
trace
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Description copied from interface:Logger
Logs a message with parameters at trace level.- Specified by:
trace
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Description copied from interface:Logger
Logs a message with parameters at trace level.- Specified by:
trace
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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(java.lang.String message, java.lang.Object p0)
Description copied from interface:Logger
Logs a message with parameters at trace level.
-
trace
public void trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Description copied from interface:Logger
Logs a message with parameters at trace level.
-
trace
public void trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Description copied from interface:Logger
Logs a message with parameters at trace level.
-
trace
public void trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Description copied from interface:Logger
Logs a message with parameters at trace level.
-
trace
public void trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Description copied from interface:Logger
Logs a message with parameters at trace level.
-
trace
public void trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Description copied from interface:Logger
Logs a message with parameters at trace level.- Specified by:
trace
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Description copied from interface:Logger
Logs a message with parameters at trace level.- Specified by:
trace
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Description copied from interface:Logger
Logs a message with parameters at trace level.- Specified by:
trace
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Description copied from interface:Logger
Logs a message with parameters at trace level.- Specified by:
trace
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Description copied from interface:Logger
Logs a message with parameters at trace level.- Specified by:
trace
in interfaceLogger
- 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 interfaceLogger
- Returns:
- built message
-
traceEntry
public EntryMessage traceEntry(java.lang.String format, java.lang.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 interfaceLogger
- Parameters:
format
- The format String for the parameters.params
- The parameters to the method.- Returns:
- The built Message
-
traceEntry
public EntryMessage traceEntry(org.apache.logging.log4j.util.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 interfaceLogger
- Parameters:
paramSuppliers
- The Suppliers for the parameters to the method.- Returns:
- built message
-
traceEntry
public EntryMessage traceEntry(java.lang.String format, org.apache.logging.log4j.util.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 interfaceLogger
- 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 callinglogger.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 returnedEntryMessage
is fully processed.- Specified by:
traceEntry
in interfaceLogger
- Parameters:
message
- The message. Avoid specifying a ReusableMessage, use immutable messages instead.- Returns:
- the built message
- See Also:
ReusableMessage
-
traceExit
public void traceExit()
Description copied from interface:Logger
Logs exit from a method. Used for methods that do not return anything.
-
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);
-
traceExit
public <R> R traceExit(java.lang.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);
-
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); }
-
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); }
-
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);
-
warn
public void warn(Marker marker, Message message)
Description copied from interface:Logger
Logs a message with the specific Marker at theWARN
level.
-
warn
public void warn(Marker marker, Message message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message with the specific Marker at theWARN
level.
-
warn
public void warn(Marker marker, java.lang.CharSequence message)
Description copied from interface:Logger
Logs a message CharSequence with theWARN
level.
-
warn
public void warn(Marker marker, java.lang.CharSequence message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a CharSequence at theWARN
level including the stack trace of theThrowable
throwable
passed as parameter.
-
warn
public void warn(Marker marker, java.lang.Object message)
Description copied from interface:Logger
Logs a message object with theWARN
level.
-
warn
public void warn(Marker marker, java.lang.Object message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theWARN
level including the stack trace of theThrowable
throwable
passed as parameter.
-
warn
public void warn(Marker marker, java.lang.String message)
Description copied from interface:Logger
Logs a message object with theWARN
level.
-
warn
public void warn(Marker marker, java.lang.String message, java.lang.Object... params)
Description copied from interface:Logger
Logs a message with parameters at theWARN
level.- Specified by:
warn
in interfaceLogger
- 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:
Logger.getMessageFactory()
-
warn
public void warn(Marker marker, java.lang.String message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theWARN
level including the stack trace of theThrowable
throwable
passed as parameter.
-
warn
public void warn(Message message)
Description copied from interface:Logger
Logs a message with the specific Marker at theWARN
level.
-
warn
public void warn(Message message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message with the specific Marker at theWARN
level.
-
warn
public void warn(java.lang.CharSequence message)
Description copied from interface:Logger
Logs a message CharSequence with theWARN
level.
-
warn
public void warn(java.lang.CharSequence message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a CharSequence at theWARN
level including the stack trace of theThrowable
throwable
passed as parameter.
-
warn
public void warn(java.lang.Object message)
Description copied from interface:Logger
Logs a message object with theWARN
level.
-
warn
public void warn(java.lang.Object message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theWARN
level including the stack trace of theThrowable
throwable
passed as parameter.
-
warn
public void warn(java.lang.String message)
Description copied from interface:Logger
Logs a message object with theWARN
level.
-
warn
public void warn(java.lang.String message, java.lang.Object... params)
Description copied from interface:Logger
Logs a message with parameters at theWARN
level.- Specified by:
warn
in interfaceLogger
- Parameters:
message
- the message to log; the format depends on the message factory.params
- parameters to the message.- See Also:
Logger.getMessageFactory()
-
warn
public void warn(java.lang.String message, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message at theWARN
level including the stack trace of theThrowable
throwable
passed as parameter.
-
warn
public void warn(org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theWARN
level.
-
warn
public void warn(org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theWARN
level) including the stack warn of theThrowable
throwable
passed as parameter.
-
warn
public void warn(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theWARN
level with the specified Marker.
-
warn
public void warn(Marker marker, java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Description copied from interface:Logger
Logs a message with parameters which are only to be constructed if the logging level is theWARN
level.
-
warn
public void warn(Marker marker, org.apache.logging.log4j.util.Supplier<?> messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theWARN
level) with the specified Marker and including the stack warn of theThrowable
throwable
passed as parameter.
-
warn
public void warn(java.lang.String message, org.apache.logging.log4j.util.Supplier<?>... paramSuppliers)
Description copied from interface:Logger
Logs a message with parameters which are only to be constructed if the logging level is theWARN
level.
-
warn
public void warn(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theWARN
level with the specified Marker. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
warn
public void warn(Marker marker, org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theWARN
level) with the specified Marker and including the stack warn of theThrowable
throwable
passed as parameter. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
warn
public void warn(org.apache.logging.log4j.util.MessageSupplier messageSupplier)
Description copied from interface:Logger
Logs a message which is only to be constructed if the logging level is theWARN
level. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
warn
public void warn(org.apache.logging.log4j.util.MessageSupplier messageSupplier, java.lang.Throwable throwable)
Description copied from interface:Logger
Logs a message (only to be constructed if the logging level is theWARN
level) including the stack warn of theThrowable
throwable
passed as parameter. TheMessageSupplier
may or may not use theMessageFactory
to construct theMessage
.
-
warn
public void warn(Marker marker, java.lang.String message, java.lang.Object p0)
Description copied from interface:Logger
Logs a message with parameters at warn level.
-
warn
public void warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Description copied from interface:Logger
Logs a message with parameters at warn level.
-
warn
public void warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Description copied from interface:Logger
Logs a message with parameters at warn level.
-
warn
public void warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Description copied from interface:Logger
Logs a message with parameters at warn level.- Specified by:
warn
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Description copied from interface:Logger
Logs a message with parameters at warn level.- Specified by:
warn
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Description copied from interface:Logger
Logs a message with parameters at warn level.- Specified by:
warn
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Description copied from interface:Logger
Logs a message with parameters at warn level.- Specified by:
warn
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Description copied from interface:Logger
Logs a message with parameters at warn level.- Specified by:
warn
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Description copied from interface:Logger
Logs a message with parameters at warn level.- Specified by:
warn
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Description copied from interface:Logger
Logs a message with parameters at warn level.- Specified by:
warn
in interfaceLogger
- Parameters:
marker
- the marker data specific to this log statementmessage
- 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(java.lang.String message, java.lang.Object p0)
Description copied from interface:Logger
Logs a message with parameters at warn level.
-
warn
public void warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Description copied from interface:Logger
Logs a message with parameters at warn level.
-
warn
public void warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Description copied from interface:Logger
Logs a message with parameters at warn level.
-
warn
public void warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Description copied from interface:Logger
Logs a message with parameters at warn level.
-
warn
public void warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Description copied from interface:Logger
Logs a message with parameters at warn level.
-
warn
public void warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Description copied from interface:Logger
Logs a message with parameters at warn level.- Specified by:
warn
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Description copied from interface:Logger
Logs a message with parameters at warn level.- Specified by:
warn
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Description copied from interface:Logger
Logs a message with parameters at warn level.- Specified by:
warn
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Description copied from interface:Logger
Logs a message with parameters at warn level.- Specified by:
warn
in interfaceLogger
- 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(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Description copied from interface:Logger
Logs a message with parameters at warn level.- Specified by:
warn
in interfaceLogger
- 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.
-
atTrace
public LogBuilder atTrace()
Construct a trace log event.
-
atDebug
public LogBuilder atDebug()
Construct a debug log event.
-
atInfo
public LogBuilder atInfo()
Construct an informational log event.
-
atWarn
public LogBuilder atWarn()
Construct a warning log event.
-
atError
public LogBuilder atError()
Construct an error log event.
-
atFatal
public LogBuilder atFatal()
Construct a fatal log event.
-
always
public LogBuilder always()
Construct a log event that will always be logged.
-
atLevel
public LogBuilder atLevel(Level level)
Construct a log event.
-
-