Package org.apache.logging.log4j.spi
Class AbstractLogger
- java.lang.Object
- 
- org.apache.logging.log4j.spi.AbstractLogger
 
- 
- All Implemented Interfaces:
- Serializable,- Logger,- ExtendedLogger,- LocationAwareLogger
 - Direct Known Subclasses:
- ExtendedLoggerWrapper,- SimpleLogger,- StatusLogger
 
 public abstract class AbstractLogger extends Object implements ExtendedLogger, LocationAwareLogger, Serializable Base implementation of a Logger. It is highly recommended that any Logger implementation extend this class.- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static MarkerCATCHING_MARKERMarker for catching exceptions.static Class<? extends FlowMessageFactory>DEFAULT_FLOW_MESSAGE_FACTORY_CLASSThe default FlowMessageFactory class.static Class<? extends MessageFactory>DEFAULT_MESSAGE_FACTORY_CLASSThe default MessageFactory class.static MarkerENTRY_MARKERMarker for method entry tracing.static MarkerEXCEPTION_MARKERMarker for exception tracing.static MarkerEXIT_MARKERMarker for method exit tracing.static MarkerFLOW_MARKERMarker for flow tracing.protected Stringnamestatic MarkerTHROWING_MARKERMarker for throwing exceptions.
 - 
Constructor SummaryConstructors Constructor Description AbstractLogger()Creates a new logger named after this class (or subclass).AbstractLogger(String name)Creates a new named logger.AbstractLogger(String name, MessageFactory messageFactory)Creates a new named logger with a particularMessageFactory.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description LogBuilderalways()Construct a log event that will always be logged.LogBuilderatDebug()Construct a debug log event.LogBuilderatError()Construct an error log event.LogBuilderatFatal()Construct a fatal log event.LogBuilderatInfo()Construct an informational log event.LogBuilderatLevel(Level level)Construct a log event.LogBuilderatTrace()Construct a trace log event.LogBuilderatWarn()Construct a warning log event.protected voidcatching(String fqcn, Level level, Throwable throwable)Logs a Throwable that has been caught with location information.voidcatching(Throwable throwable)voidcatching(Level level, Throwable throwable)Logs aThrowablethat has been caught to a specific logging level.protected MessagecatchingMsg(Throwable throwable)static voidcheckMessageFactory(ExtendedLogger logger, MessageFactory messageFactory)Checks that the message factory a logger was created with is the same as the given messageFactory.voiddebug(CharSequence message)Logs a message CharSequence with theDEBUGlevel.voiddebug(CharSequence message, Throwable throwable)voiddebug(Object message)Logs a message object with theDEBUGlevel.voiddebug(Object message, Throwable throwable)voiddebug(String message)Logs a message object with theDEBUGlevel.voiddebug(String message, Object p0)Logs a message with parameters at debug level.voiddebug(String message, Object... params)Logs a message with parameters at theDEBUGlevel.voiddebug(String message, Object p0, Object p1)Logs a message with parameters at debug level.voiddebug(String message, Object p0, Object p1, Object p2)Logs a message with parameters at debug level.voiddebug(String message, Object p0, Object p1, Object p2, Object p3)Logs a message with parameters at debug level.voiddebug(String message, Object p0, Object p1, Object p2, Object p3, Object p4)Logs a message with parameters at debug level.voiddebug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)Logs a message with parameters at debug level.voiddebug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)Logs a message with parameters at debug level.voiddebug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)Logs a message with parameters at debug level.voiddebug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)Logs a message with parameters at debug level.voiddebug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)Logs a message with parameters at debug level.voiddebug(String message, Throwable throwable)voiddebug(String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theDEBUGlevel.voiddebug(Marker marker, CharSequence message)Logs a message CharSequence with theDEBUGlevel.voiddebug(Marker marker, CharSequence message, Throwable throwable)voiddebug(Marker marker, Object message)Logs a message object with theDEBUGlevel.voiddebug(Marker marker, Object message, Throwable throwable)voiddebug(Marker marker, String message)Logs a message object with theDEBUGlevel.voiddebug(Marker marker, String message, Object p0)Logs a message with parameters at debug level.voiddebug(Marker marker, String message, Object... params)Logs a message with parameters at theDEBUGlevel.voiddebug(Marker marker, String message, Object p0, Object p1)Logs a message with parameters at debug level.voiddebug(Marker marker, String message, Object p0, Object p1, Object p2)Logs a message with parameters at debug level.voiddebug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3)Logs a message with parameters at debug level.voiddebug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)Logs a message with parameters at debug level.voiddebug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)Logs a message with parameters at debug level.voiddebug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)Logs a message with parameters at debug level.voiddebug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)Logs a message with parameters at debug level.voiddebug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)Logs a message with parameters at debug level.voiddebug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)Logs a message with parameters at debug level.voiddebug(Marker marker, String message, Throwable throwable)voiddebug(Marker marker, String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theDEBUGlevel.voiddebug(Marker marker, Message message)Logs a message with the specific Marker at theDEBUGlevel.voiddebug(Marker marker, Message message, Throwable throwable)Logs a message with the specific Marker at theDEBUGlevel.voiddebug(Marker marker, MessageSupplier messageSupplier)Logs a message which is only to be constructed if the logging level is theDEBUGlevel with the specified Marker.voiddebug(Marker marker, MessageSupplier messageSupplier, Throwable throwable)voiddebug(Marker marker, Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theDEBUGlevel with the specified Marker.voiddebug(Marker marker, Supplier<?> messageSupplier, Throwable throwable)voiddebug(Message message)Logs a message with the specific Marker at theDEBUGlevel.voiddebug(Message message, Throwable throwable)Logs a message with the specific Marker at theDEBUGlevel.voiddebug(MessageSupplier messageSupplier)Logs a message which is only to be constructed if the logging level is theDEBUGlevel.voiddebug(MessageSupplier messageSupplier, Throwable throwable)voiddebug(Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theDEBUGlevel.voiddebug(Supplier<?> messageSupplier, Throwable throwable)protected EntryMessageenter(String fqcn, String format, Object... params)Logs entry to a method with location information.protected EntryMessageenter(String fqcn, String format, MessageSupplier... paramSuppliers)Deprecated.protected EntryMessageenter(String fqcn, String format, Supplier<?>... paramSuppliers)Logs entry to a method with location information.protected EntryMessageenter(String fqcn, Message message)Logs entry to a method with location information.protected EntryMessageenter(String fqcn, MessageSupplier messageSupplier)Deprecated.voidentry()Deprecated.voidentry(Object... params)Logs entry to a method along with its parameters (consider using one of thetraceEntry(...)methods instead.)protected voidentry(String fqcn, Object... params)Logs entry to a method with location information.protected EntryMessageentryMsg(String format, Object... params)protected EntryMessageentryMsg(String format, MessageSupplier... paramSuppliers)protected EntryMessageentryMsg(String format, Supplier<?>... paramSuppliers)voiderror(CharSequence message)Logs a message CharSequence with theERRORlevel.voiderror(CharSequence message, Throwable throwable)voiderror(Object message)Logs a message object with theERRORlevel.voiderror(Object message, Throwable throwable)voiderror(String message)Logs a message object with theERRORlevel.voiderror(String message, Object p0)Logs a message with parameters at error level.voiderror(String message, Object... params)Logs a message with parameters at theERRORlevel.voiderror(String message, Object p0, Object p1)Logs a message with parameters at error level.voiderror(String message, Object p0, Object p1, Object p2)Logs a message with parameters at error level.voiderror(String message, Object p0, Object p1, Object p2, Object p3)Logs a message with parameters at error level.voiderror(String message, Object p0, Object p1, Object p2, Object p3, Object p4)Logs a message with parameters at error level.voiderror(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)Logs a message with parameters at error level.voiderror(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)Logs a message with parameters at error level.voiderror(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)Logs a message with parameters at error level.voiderror(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)Logs a message with parameters at error level.voiderror(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)Logs a message with parameters at error level.voiderror(String message, Throwable throwable)voiderror(String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theERRORlevel.voiderror(Marker marker, CharSequence message)Logs a message CharSequence with theERRORlevel.voiderror(Marker marker, CharSequence message, Throwable throwable)voiderror(Marker marker, Object message)Logs a message object with theERRORlevel.voiderror(Marker marker, Object message, Throwable throwable)voiderror(Marker marker, String message)Logs a message object with theERRORlevel.voiderror(Marker marker, String message, Object p0)Logs a message with parameters at error level.voiderror(Marker marker, String message, Object... params)Logs a message with parameters at theERRORlevel.voiderror(Marker marker, String message, Object p0, Object p1)Logs a message with parameters at error level.voiderror(Marker marker, String message, Object p0, Object p1, Object p2)Logs a message with parameters at error level.voiderror(Marker marker, String message, Object p0, Object p1, Object p2, Object p3)Logs a message with parameters at error level.voiderror(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)Logs a message with parameters at error level.voiderror(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)Logs a message with parameters at error level.voiderror(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)Logs a message with parameters at error level.voiderror(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)Logs a message with parameters at error level.voiderror(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)Logs a message with parameters at error level.voiderror(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)Logs a message with parameters at error level.voiderror(Marker marker, String message, Throwable throwable)voiderror(Marker marker, String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theERRORlevel.voiderror(Marker marker, Message message)Logs a message with the specific Marker at theERRORlevel.voiderror(Marker marker, Message message, Throwable throwable)Logs a message with the specific Marker at theERRORlevel.voiderror(Marker marker, MessageSupplier messageSupplier)Logs a message which is only to be constructed if the logging level is theERRORlevel with the specified Marker.voiderror(Marker marker, MessageSupplier messageSupplier, Throwable throwable)voiderror(Marker marker, Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theERRORlevel with the specified Marker.voiderror(Marker marker, Supplier<?> messageSupplier, Throwable throwable)voiderror(Message message)Logs a message with the specific Marker at theERRORlevel.voiderror(Message message, Throwable throwable)Logs a message with the specific Marker at theERRORlevel.voiderror(MessageSupplier messageSupplier)Logs a message which is only to be constructed if the logging level is theERRORlevel.voiderror(MessageSupplier messageSupplier, Throwable throwable)voiderror(Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theERRORlevel.voiderror(Supplier<?> messageSupplier, Throwable throwable)voidexit()Deprecated.protected <R> Rexit(String fqcn, String format, R result)Logs exiting from a method with the result and location information.protected <R> Rexit(String fqcn, R result)Logs exiting from a method with the result and location information.<R> Rexit(R result)Deprecated.protected MessageexitMsg(String format, Object result)voidfatal(CharSequence message)Logs a message CharSequence with theFATALlevel.voidfatal(CharSequence message, Throwable throwable)voidfatal(Object message)Logs a message object with theFATALlevel.voidfatal(Object message, Throwable throwable)voidfatal(String message)Logs a message object with theFATALlevel.voidfatal(String message, Object p0)Logs a message with parameters at fatal level.voidfatal(String message, Object... params)Logs a message with parameters at theFATALlevel.voidfatal(String message, Object p0, Object p1)Logs a message with parameters at fatal level.voidfatal(String message, Object p0, Object p1, Object p2)Logs a message with parameters at fatal level.voidfatal(String message, Object p0, Object p1, Object p2, Object p3)Logs a message with parameters at fatal level.voidfatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4)Logs a message with parameters at fatal level.voidfatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)Logs a message with parameters at fatal level.voidfatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)Logs a message with parameters at fatal level.voidfatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)Logs a message with parameters at fatal level.voidfatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)Logs a message with parameters at fatal level.voidfatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)Logs a message with parameters at fatal level.voidfatal(String message, Throwable throwable)voidfatal(String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theFATALlevel.voidfatal(Marker marker, CharSequence message)Logs a message CharSequence with theFATALlevel.voidfatal(Marker marker, CharSequence message, Throwable throwable)voidfatal(Marker marker, Object message)Logs a message object with theFATALlevel.voidfatal(Marker marker, Object message, Throwable throwable)voidfatal(Marker marker, String message)Logs a message object with theFATALlevel.voidfatal(Marker marker, String message, Object p0)Logs a message with parameters at fatal level.voidfatal(Marker marker, String message, Object... params)Logs a message with parameters at theFATALlevel.voidfatal(Marker marker, String message, Object p0, Object p1)Logs a message with parameters at fatal level.voidfatal(Marker marker, String message, Object p0, Object p1, Object p2)Logs a message with parameters at fatal level.voidfatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3)Logs a message with parameters at fatal level.voidfatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)Logs a message with parameters at fatal level.voidfatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)Logs a message with parameters at fatal level.voidfatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)Logs a message with parameters at fatal level.voidfatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)Logs a message with parameters at fatal level.voidfatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)Logs a message with parameters at fatal level.voidfatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)Logs a message with parameters at fatal level.voidfatal(Marker marker, String message, Throwable throwable)voidfatal(Marker marker, String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theFATALlevel.voidfatal(Marker marker, Message message)Logs a message with the specific Marker at theFATALlevel.voidfatal(Marker marker, Message message, Throwable throwable)Logs a message with the specific Marker at theFATALlevel.voidfatal(Marker marker, MessageSupplier messageSupplier)Logs a message which is only to be constructed if the logging level is theFATALlevel with the specified Marker.voidfatal(Marker marker, MessageSupplier messageSupplier, Throwable throwable)voidfatal(Marker marker, Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theFATALlevel with the specified Marker.voidfatal(Marker marker, Supplier<?> messageSupplier, Throwable throwable)voidfatal(Message message)Logs a message with the specific Marker at theFATALlevel.voidfatal(Message message, Throwable throwable)Logs a message with the specific Marker at theFATALlevel.voidfatal(MessageSupplier messageSupplier)Logs a message which is only to be constructed if the logging level is theFATALlevel.voidfatal(MessageSupplier messageSupplier, Throwable throwable)voidfatal(Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theFATALlevel.voidfatal(Supplier<?> messageSupplier, Throwable throwable)FlowMessageFactorygetFlowMessageFactory()Gets the flow message factory used to convert messages into flow messages.protected LogBuildergetLogBuilder(Level level)Returns a log builder that logs at the specified level.<MF extends MessageFactory>
 MFgetMessageFactory()Gets the message factory used to convert message Objects and Strings/CharSequences into actual log Messages.StringgetName()Gets the logger name.static intgetRecursionDepth()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.voidinfo(CharSequence message)Logs a message CharSequence with theINFOlevel.voidinfo(CharSequence message, Throwable throwable)voidinfo(Object message)Logs a message object with theINFOlevel.voidinfo(Object message, Throwable throwable)voidinfo(String message)Logs a message object with theINFOlevel.voidinfo(String message, Object p0)Logs a message with parameters at info level.voidinfo(String message, Object... params)Logs a message with parameters at theINFOlevel.voidinfo(String message, Object p0, Object p1)Logs a message with parameters at info level.voidinfo(String message, Object p0, Object p1, Object p2)Logs a message with parameters at info level.voidinfo(String message, Object p0, Object p1, Object p2, Object p3)Logs a message with parameters at info level.voidinfo(String message, Object p0, Object p1, Object p2, Object p3, Object p4)Logs a message with parameters at info level.voidinfo(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)Logs a message with parameters at info level.voidinfo(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)Logs a message with parameters at info level.voidinfo(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)Logs a message with parameters at info level.voidinfo(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)Logs a message with parameters at info level.voidinfo(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)Logs a message with parameters at info level.voidinfo(String message, Throwable throwable)voidinfo(String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theINFOlevel.voidinfo(Marker marker, CharSequence message)Logs a message CharSequence with theINFOlevel.voidinfo(Marker marker, CharSequence message, Throwable throwable)voidinfo(Marker marker, Object message)Logs a message object with theINFOlevel.voidinfo(Marker marker, Object message, Throwable throwable)voidinfo(Marker marker, String message)Logs a message object with theINFOlevel.voidinfo(Marker marker, String message, Object p0)Logs a message with parameters at info level.voidinfo(Marker marker, String message, Object... params)Logs a message with parameters at theINFOlevel.voidinfo(Marker marker, String message, Object p0, Object p1)Logs a message with parameters at info level.voidinfo(Marker marker, String message, Object p0, Object p1, Object p2)Logs a message with parameters at info level.voidinfo(Marker marker, String message, Object p0, Object p1, Object p2, Object p3)Logs a message with parameters at info level.voidinfo(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)Logs a message with parameters at info level.voidinfo(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)Logs a message with parameters at info level.voidinfo(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)Logs a message with parameters at info level.voidinfo(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)Logs a message with parameters at info level.voidinfo(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)Logs a message with parameters at info level.voidinfo(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)Logs a message with parameters at info level.voidinfo(Marker marker, String message, Throwable throwable)voidinfo(Marker marker, String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theINFOlevel.voidinfo(Marker marker, Message message)Logs a message with the specific Marker at theINFOlevel.voidinfo(Marker marker, Message message, Throwable throwable)Logs a message with the specific Marker at theINFOlevel.voidinfo(Marker marker, MessageSupplier messageSupplier)Logs a message which is only to be constructed if the logging level is theINFOlevel with the specified Marker.voidinfo(Marker marker, MessageSupplier messageSupplier, Throwable throwable)voidinfo(Marker marker, Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theINFOlevel with the specified Marker.voidinfo(Marker marker, Supplier<?> messageSupplier, Throwable throwable)voidinfo(Message message)Logs a message with the specific Marker at theINFOlevel.voidinfo(Message message, Throwable throwable)Logs a message with the specific Marker at theINFOlevel.voidinfo(MessageSupplier messageSupplier)Logs a message which is only to be constructed if the logging level is theINFOlevel.voidinfo(MessageSupplier messageSupplier, Throwable throwable)voidinfo(Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theINFOlevel.voidinfo(Supplier<?> messageSupplier, Throwable throwable)booleanisDebugEnabled()Checks whether this Logger is enabled for theDEBUGLevel.booleanisDebugEnabled(Marker marker)Checks whether this Logger is enabled for theDEBUGLevel.booleanisEnabled(Level level)Checks whether this Logger is enabled for the given Level.booleanisEnabled(Level level, Marker marker)Checks whether this Logger is enabled for the given Level and Marker.booleanisErrorEnabled()Checks whether this Logger is enabled for theERRORLevel.booleanisErrorEnabled(Marker marker)Checks whether this Logger is enabled for theERRORLevel.booleanisFatalEnabled()Checks whether this Logger is enabled for theFATALLevel.booleanisFatalEnabled(Marker marker)Checks whether this Logger is enabled for theFATALLevel.booleanisInfoEnabled()Checks whether this Logger is enabled for theINFOLevel.booleanisInfoEnabled(Marker marker)Checks whether this Logger is enabled for theINFOLevel.booleanisTraceEnabled()Checks whether this Logger is enabled for theTRACElevel.booleanisTraceEnabled(Marker marker)Checks whether this Logger is enabled for theTRACElevel.booleanisWarnEnabled()Checks whether this Logger is enabled for theWARNLevel.booleanisWarnEnabled(Marker marker)Checks whether this Logger is enabled for theWARNLevel.voidlog(Level level, CharSequence message)Logs a message CharSequence with the given level.voidlog(Level level, CharSequence message, Throwable throwable)Logs a CharSequence at the given level including the stack trace of theThrowablethrowablepassed as parameter.voidlog(Level level, Object message)Logs a message object with the given level.voidlog(Level level, Object message, Throwable throwable)Logs a message at the given level including the stack trace of theThrowablethrowablepassed as parameter.voidlog(Level level, String message)Logs a message object with the given level.voidlog(Level level, String message, Object p0)Logs a message with parameters at the specified level.voidlog(Level level, String message, Object... params)Logs a message with parameters at the given level.voidlog(Level level, String message, Object p0, Object p1)Logs a message with parameters at the specified level.voidlog(Level level, String message, Object p0, Object p1, Object p2)Logs a message with parameters at the specified level.voidlog(Level level, String message, Object p0, Object p1, Object p2, Object p3)Logs a message with parameters at the specified level.voidlog(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4)Logs a message with parameters at the specified level.voidlog(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)Logs a message with parameters at the specified level.voidlog(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)Logs a message with parameters at the specified level.voidlog(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)Logs a message with parameters at the specified level.voidlog(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)Logs a message with parameters at the specified level.voidlog(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)Logs a message with parameters at the specified level.voidlog(Level level, String message, Throwable throwable)Logs a message at the given level including the stack trace of theThrowablethrowablepassed as parameter.voidlog(Level level, String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is the specified level.voidlog(Level level, Marker marker, CharSequence message)Logs a message CharSequence with the given level.voidlog(Level level, Marker marker, CharSequence message, Throwable throwable)Logs a CharSequence at the given level including the stack trace of theThrowablethrowablepassed as parameter.voidlog(Level level, Marker marker, Object message)Logs a message object with the given level.voidlog(Level level, Marker marker, Object message, Throwable throwable)Logs a message at the given level including the stack trace of theThrowablethrowablepassed as parameter.voidlog(Level level, Marker marker, String message)Logs a message object with the given level.voidlog(Level level, Marker marker, String message, Object p0)Logs a message with parameters at the specified level.voidlog(Level level, Marker marker, String message, Object... params)Logs a message with parameters at the given level.voidlog(Level level, Marker marker, String message, Object p0, Object p1)Logs a message with parameters at the specified level.voidlog(Level level, Marker marker, String message, Object p0, Object p1, Object p2)Logs a message with parameters at the specified level.voidlog(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3)Logs a message with parameters at the specified level.voidlog(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)Logs a message with parameters at the specified level.voidlog(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)Logs a message with parameters at the specified level.voidlog(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)Logs a message with parameters at the specified level.voidlog(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)Logs a message with parameters at the specified level.voidlog(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)Logs a message with parameters at the specified level.voidlog(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)Logs a message with parameters at the specified level.protected voidlog(Level level, Marker marker, String fqcn, StackTraceElement location, Message message, Throwable throwable)voidlog(Level level, Marker marker, String message, Throwable throwable)Logs a message at the given level including the stack trace of theThrowablethrowablepassed as parameter.voidlog(Level level, Marker marker, String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is the specified level.voidlog(Level level, Marker marker, Message message)Logs a message with the specific Marker at the given level.voidlog(Level level, Marker marker, Message message, Throwable throwable)Logs a message with the specific Marker at the given level.voidlog(Level level, Marker marker, MessageSupplier messageSupplier)Logs a message which is only to be constructed if the logging level is the specified level with the specified Marker.voidlog(Level level, Marker marker, MessageSupplier messageSupplier, 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 theThrowablethrowablepassed as parameter.voidlog(Level level, Marker marker, Supplier<?> messageSupplier)Logs a message (only to be constructed if the logging level is the specified level) with the specified Marker.voidlog(Level level, Marker marker, Supplier<?> messageSupplier, 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 theThrowablethrowablepassed as parameter.voidlog(Level level, Message message)Logs a message with the specific Marker at the given level.voidlog(Level level, Message message, Throwable throwable)Logs a message with the specific Marker at the given level.voidlog(Level level, MessageSupplier messageSupplier)Logs a message which is only to be constructed if the logging level is the specified level.voidlog(Level level, MessageSupplier messageSupplier, Throwable throwable)Logs a message (only to be constructed if the logging level is the specified level) including the stack log of theThrowablethrowablepassed as parameter.voidlog(Level level, Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is the specified level.voidlog(Level level, Supplier<?> messageSupplier, Throwable throwable)Logs a message (only to be constructed if the logging level is the specified level) including the stack log of theThrowablethrowablepassed as parameter.voidlogIfEnabled(String fqcn, Level level, Marker marker, CharSequence message, Throwable throwable)Logs a CharSequence message if the specified level is active.voidlogIfEnabled(String fqcn, Level level, Marker marker, Object message, Throwable throwable)Logs a message if the specified level is active.voidlogIfEnabled(String fqcn, Level level, Marker marker, String message)Logs a message if the specified level is active.voidlogIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0)Logs a message if the specified level is active.voidlogIfEnabled(String fqcn, Level level, Marker marker, String message, Object... params)Logs a message if the specified level is active.voidlogIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1)Logs a message if the specified level is active.voidlogIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2)Logs a message if the specified level is active.voidlogIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3)Logs a message if the specified level is active.voidlogIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)Logs a message if the specified level is active.voidlogIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)Logs a message if the specified level is active.voidlogIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)Logs a message if the specified level is active.voidlogIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)Logs a message if the specified level is active.voidlogIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)Logs a message if the specified level is active.voidlogIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)Logs a message if the specified level is active.voidlogIfEnabled(String fqcn, Level level, Marker marker, String message, Throwable throwable)Logs a message if the specified level is active.voidlogIfEnabled(String fqcn, Level level, Marker marker, String message, Supplier<?>... paramSuppliers)Logs a message whose parameters are only to be constructed if the specified level is active.voidlogIfEnabled(String fqcn, Level level, Marker marker, Message message, Throwable throwable)Logs a message if the specified level is active.voidlogIfEnabled(String fqcn, Level level, Marker marker, MessageSupplier messageSupplier, Throwable throwable)Logs a message which is only to be constructed if the specified level is active.voidlogIfEnabled(String fqcn, Level level, Marker marker, Supplier<?> messageSupplier, Throwable throwable)Logs a message which is only to be constructed if the specified level is active.protected voidlogMessage(String fqcn, Level level, Marker marker, CharSequence message, Throwable throwable)protected voidlogMessage(String fqcn, Level level, Marker marker, Object message, Throwable throwable)protected voidlogMessage(String fqcn, Level level, Marker marker, String message)protected voidlogMessage(String fqcn, Level level, Marker marker, String message, Object p0)protected voidlogMessage(String fqcn, Level level, Marker marker, String message, Object... params)protected voidlogMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1)protected voidlogMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2)protected voidlogMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3)protected voidlogMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)protected voidlogMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)protected voidlogMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)protected voidlogMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)protected voidlogMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)protected voidlogMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)protected voidlogMessage(String fqcn, Level level, Marker marker, String message, Throwable throwable)protected voidlogMessage(String fqcn, Level level, Marker marker, String message, Supplier<?>... paramSuppliers)protected voidlogMessage(String fqcn, Level level, Marker marker, MessageSupplier messageSupplier, Throwable throwable)protected voidlogMessage(String fqcn, Level level, Marker marker, Supplier<?> messageSupplier, Throwable throwable)voidlogMessage(Level level, Marker marker, String fqcn, StackTraceElement location, Message message, Throwable throwable)Logs a Message.voidprintf(Level level, String format, Object... params)Logs a formatted message using the specified format string and arguments.voidprintf(Level level, Marker marker, String format, Object... params)Logs a formatted message using the specified format string and arguments.protected booleanrequiresLocation()protected <T extends Throwable>
 Tthrowing(String fqcn, Level level, T throwable)Logs a Throwable to be thrown.<T extends Throwable>
 Tthrowing(Level level, T throwable)Logs aThrowableto be thrown.<T extends Throwable>
 Tthrowing(T throwable)protected MessagethrowingMsg(Throwable throwable)voidtrace(CharSequence message)Logs a message CharSequence with theTRACElevel.voidtrace(CharSequence message, Throwable throwable)voidtrace(Object message)Logs a message object with theTRACElevel.voidtrace(Object message, Throwable throwable)voidtrace(String message)Logs a message object with theTRACElevel.voidtrace(String message, Object p0)Logs a message with parameters at trace level.voidtrace(String message, Object... params)Logs a message with parameters at theTRACElevel.voidtrace(String message, Object p0, Object p1)Logs a message with parameters at trace level.voidtrace(String message, Object p0, Object p1, Object p2)Logs a message with parameters at trace level.voidtrace(String message, Object p0, Object p1, Object p2, Object p3)Logs a message with parameters at trace level.voidtrace(String message, Object p0, Object p1, Object p2, Object p3, Object p4)Logs a message with parameters at trace level.voidtrace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)Logs a message with parameters at trace level.voidtrace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)Logs a message with parameters at trace level.voidtrace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)Logs a message with parameters at trace level.voidtrace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)Logs a message with parameters at trace level.voidtrace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)Logs a message with parameters at trace level.voidtrace(String message, Throwable throwable)voidtrace(String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theTRACElevel.voidtrace(Marker marker, CharSequence message)Logs a message CharSequence with theTRACElevel.voidtrace(Marker marker, CharSequence message, Throwable throwable)voidtrace(Marker marker, Object message)Logs a message object with theTRACElevel.voidtrace(Marker marker, Object message, Throwable throwable)voidtrace(Marker marker, String message)Logs a message object with theTRACElevel.voidtrace(Marker marker, String message, Object p0)Logs a message with parameters at trace level.voidtrace(Marker marker, String message, Object... params)Logs a message with parameters at theTRACElevel.voidtrace(Marker marker, String message, Object p0, Object p1)Logs a message with parameters at trace level.voidtrace(Marker marker, String message, Object p0, Object p1, Object p2)Logs a message with parameters at trace level.voidtrace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3)Logs a message with parameters at trace level.voidtrace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)Logs a message with parameters at trace level.voidtrace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)Logs a message with parameters at trace level.voidtrace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)Logs a message with parameters at trace level.voidtrace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)Logs a message with parameters at trace level.voidtrace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)Logs a message with parameters at trace level.voidtrace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)Logs a message with parameters at trace level.voidtrace(Marker marker, String message, Throwable throwable)voidtrace(Marker marker, String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theTRACElevel.voidtrace(Marker marker, Message message)Logs a message with the specific Marker at theTRACElevel.voidtrace(Marker marker, Message message, Throwable throwable)Logs a message with the specific Marker at theTRACElevel.voidtrace(Marker marker, MessageSupplier messageSupplier)Logs a message which is only to be constructed if the logging level is theTRACElevel with the specified Marker.voidtrace(Marker marker, MessageSupplier messageSupplier, Throwable throwable)voidtrace(Marker marker, Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theTRACElevel with the specified Marker.voidtrace(Marker marker, Supplier<?> messageSupplier, Throwable throwable)voidtrace(Message message)Logs a message with the specific Marker at theTRACElevel.voidtrace(Message message, Throwable throwable)Logs a message with the specific Marker at theTRACElevel.voidtrace(MessageSupplier messageSupplier)Logs a message which is only to be constructed if the logging level is theTRACElevel.voidtrace(MessageSupplier messageSupplier, Throwable throwable)voidtrace(Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theTRACElevel.voidtrace(Supplier<?> messageSupplier, Throwable throwable)EntryMessagetraceEntry()Logs entry to a method.EntryMessagetraceEntry(String format, Object... params)Logs entry to a method along with its parameters.EntryMessagetraceEntry(String format, Supplier<?>... paramSuppliers)Logs entry to a method along with its parameters.EntryMessagetraceEntry(Message message)Logs entry to a method using a Message to describe the parameters.EntryMessagetraceEntry(Supplier<?>... paramSuppliers)Logs entry to a method along with its parameters.voidtraceExit()Logs exit from a method.<R> RtraceExit(String format, R result)Logs exiting from a method with the result.voidtraceExit(EntryMessage message)Logs exiting from a method with no result.<R> RtraceExit(EntryMessage message, R result)Logs exiting from a method with the result.<R> RtraceExit(Message message, R result)Logs exiting from a method with the result.<R> RtraceExit(R result)Logs exiting from a method with the result.voidwarn(CharSequence message)Logs a message CharSequence with theWARNlevel.voidwarn(CharSequence message, Throwable throwable)voidwarn(Object message)Logs a message object with theWARNlevel.voidwarn(Object message, Throwable throwable)voidwarn(String message)Logs a message object with theWARNlevel.voidwarn(String message, Object p0)Logs a message with parameters at warn level.voidwarn(String message, Object... params)Logs a message with parameters at theWARNlevel.voidwarn(String message, Object p0, Object p1)Logs a message with parameters at warn level.voidwarn(String message, Object p0, Object p1, Object p2)Logs a message with parameters at warn level.voidwarn(String message, Object p0, Object p1, Object p2, Object p3)Logs a message with parameters at warn level.voidwarn(String message, Object p0, Object p1, Object p2, Object p3, Object p4)Logs a message with parameters at warn level.voidwarn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)Logs a message with parameters at warn level.voidwarn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)Logs a message with parameters at warn level.voidwarn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)Logs a message with parameters at warn level.voidwarn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)Logs a message with parameters at warn level.voidwarn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)Logs a message with parameters at warn level.voidwarn(String message, Throwable throwable)voidwarn(String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theWARNlevel.voidwarn(Marker marker, CharSequence message)Logs a message CharSequence with theWARNlevel.voidwarn(Marker marker, CharSequence message, Throwable throwable)voidwarn(Marker marker, Object message)Logs a message object with theWARNlevel.voidwarn(Marker marker, Object message, Throwable throwable)voidwarn(Marker marker, String message)Logs a message object with theWARNlevel.voidwarn(Marker marker, String message, Object p0)Logs a message with parameters at warn level.voidwarn(Marker marker, String message, Object... params)Logs a message with parameters at theWARNlevel.voidwarn(Marker marker, String message, Object p0, Object p1)Logs a message with parameters at warn level.voidwarn(Marker marker, String message, Object p0, Object p1, Object p2)Logs a message with parameters at warn level.voidwarn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3)Logs a message with parameters at warn level.voidwarn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)Logs a message with parameters at warn level.voidwarn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)Logs a message with parameters at warn level.voidwarn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)Logs a message with parameters at warn level.voidwarn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)Logs a message with parameters at warn level.voidwarn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)Logs a message with parameters at warn level.voidwarn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)Logs a message with parameters at warn level.voidwarn(Marker marker, String message, Throwable throwable)voidwarn(Marker marker, String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theWARNlevel.voidwarn(Marker marker, Message message)Logs a message with the specific Marker at theWARNlevel.voidwarn(Marker marker, Message message, Throwable throwable)Logs a message with the specific Marker at theWARNlevel.voidwarn(Marker marker, MessageSupplier messageSupplier)Logs a message which is only to be constructed if the logging level is theWARNlevel with the specified Marker.voidwarn(Marker marker, MessageSupplier messageSupplier, Throwable throwable)voidwarn(Marker marker, Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theWARNlevel with the specified Marker.voidwarn(Marker marker, Supplier<?> messageSupplier, Throwable throwable)voidwarn(Message message)Logs a message with the specific Marker at theWARNlevel.voidwarn(Message message, Throwable throwable)Logs a message with the specific Marker at theWARNlevel.voidwarn(MessageSupplier messageSupplier)Logs a message which is only to be constructed if the logging level is theWARNlevel.voidwarn(MessageSupplier messageSupplier, Throwable throwable)voidwarn(Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theWARNlevel.voidwarn(Supplier<?> messageSupplier, Throwable throwable)- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
- 
 
- 
- 
- 
Field Detail- 
FLOW_MARKERpublic static final Marker FLOW_MARKER Marker for flow tracing.
 - 
ENTRY_MARKERpublic static final Marker ENTRY_MARKER Marker for method entry tracing.
 - 
EXIT_MARKERpublic static final Marker EXIT_MARKER Marker for method exit tracing.
 - 
EXCEPTION_MARKERpublic static final Marker EXCEPTION_MARKER Marker for exception tracing.
 - 
THROWING_MARKERpublic static final Marker THROWING_MARKER Marker for throwing exceptions.
 - 
CATCHING_MARKERpublic static final Marker CATCHING_MARKER Marker for catching exceptions.
 - 
DEFAULT_MESSAGE_FACTORY_CLASSpublic static final Class<? extends MessageFactory> DEFAULT_MESSAGE_FACTORY_CLASS The default MessageFactory class.
 - 
DEFAULT_FLOW_MESSAGE_FACTORY_CLASSpublic static final Class<? extends FlowMessageFactory> DEFAULT_FLOW_MESSAGE_FACTORY_CLASS The default FlowMessageFactory class.
 - 
nameprotected final String name 
 
- 
 - 
Constructor Detail- 
AbstractLoggerpublic AbstractLogger() Creates a new logger named after this class (or subclass).
 - 
AbstractLoggerpublic AbstractLogger(String name) Creates a new named logger.- Parameters:
- name- the logger name
 
 - 
AbstractLoggerpublic AbstractLogger(String name, MessageFactory messageFactory) Creates a new named logger with a particularMessageFactory.- Parameters:
- name- the logger name
- messageFactory- the message factory, if null then use the default message factory.
 
 
- 
 - 
Method Detail- 
checkMessageFactorypublic 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 check
- messageFactory- The message factory to check.
 
 - 
catchingpublic void catching(Level level, Throwable throwable) Description copied from interface:LoggerLogs aThrowablethat has been caught to a specific logging level.
 - 
catchingprotected void catching(String fqcn, Level level, Throwable throwable) Logs a Throwable that has been caught with location information.- Parameters:
- fqcn- The fully qualified class name of the caller.
- level- The logging level.
- throwable- The Throwable.
 
 - 
catchingpublic void catching(Throwable throwable) Description copied from interface:LoggerLogs aThrowablethat has been caught at theERRORlevel. 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.
 - 
debugpublic void debug(Marker marker, CharSequence message) Description copied from interface:LoggerLogs a message CharSequence with theDEBUGlevel.
 - 
debugpublic void debug(Marker marker, CharSequence message, Throwable throwable) Description copied from interface:Logger
 - 
debugpublic void debug(Marker marker, Message message) Description copied from interface:LoggerLogs a message with the specific Marker at theDEBUGlevel.
 - 
debugpublic void debug(Marker marker, Message message, Throwable throwable) Description copied from interface:LoggerLogs a message with the specific Marker at theDEBUGlevel.
 - 
debugpublic void debug(Marker marker, Object message) Description copied from interface:LoggerLogs a message object with theDEBUGlevel.
 - 
debugpublic void debug(Marker marker, Object message, Throwable throwable) Description copied from interface:Logger
 - 
debugpublic void debug(Marker marker, String message) Description copied from interface:LoggerLogs a message object with theDEBUGlevel.
 - 
debugpublic void debug(Marker marker, String message, Object... params) Description copied from interface:LoggerLogs a message with parameters at theDEBUGlevel.- Specified by:
- debugin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- params- parameters to the message.
- See Also:
- Logger.getMessageFactory()
 
 - 
debugpublic void debug(Marker marker, String message, Throwable throwable) Description copied from interface:Logger
 - 
debugpublic void debug(Message message) Description copied from interface:LoggerLogs a message with the specific Marker at theDEBUGlevel.
 - 
debugpublic void debug(Message message, Throwable throwable) Description copied from interface:LoggerLogs a message with the specific Marker at theDEBUGlevel.
 - 
debugpublic void debug(CharSequence message) Description copied from interface:LoggerLogs a message CharSequence with theDEBUGlevel.
 - 
debugpublic void debug(CharSequence message, Throwable throwable) Description copied from interface:Logger
 - 
debugpublic void debug(Object message) Description copied from interface:LoggerLogs a message object with theDEBUGlevel.
 - 
debugpublic void debug(Object message, Throwable throwable) Description copied from interface:Logger
 - 
debugpublic void debug(String message) Description copied from interface:LoggerLogs a message object with theDEBUGlevel.
 - 
debugpublic void debug(String message, Object... params) Description copied from interface:LoggerLogs a message with parameters at theDEBUGlevel.- Specified by:
- debugin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- params- parameters to the message.
- See Also:
- Logger.getMessageFactory()
 
 - 
debugpublic void debug(String message, Throwable throwable) Description copied from interface:Logger
 - 
debugpublic void debug(Supplier<?> messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theDEBUGlevel.
 - 
debugpublic void debug(Supplier<?> messageSupplier, Throwable throwable) Description copied from interface:Logger
 - 
debugpublic void debug(Marker marker, Supplier<?> messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theDEBUGlevel with the specified Marker.
 - 
debugpublic void debug(Marker marker, String message, Supplier<?>... paramSuppliers) Description copied from interface:LoggerLogs a message with parameters which are only to be constructed if the logging level is theDEBUGlevel.
 - 
debugpublic void debug(Marker marker, Supplier<?> messageSupplier, Throwable throwable) Description copied from interface:Logger
 - 
debugpublic void debug(String message, Supplier<?>... paramSuppliers) Description copied from interface:LoggerLogs a message with parameters which are only to be constructed if the logging level is theDEBUGlevel.
 - 
debugpublic void debug(Marker marker, MessageSupplier messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theDEBUGlevel with the specified Marker. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
debugpublic void debug(Marker marker, MessageSupplier messageSupplier, Throwable throwable) Description copied from interface:LoggerLogs a message (only to be constructed if the logging level is theDEBUGlevel) with the specified Marker and including the stack trace of theThrowablethrowablepassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
debugpublic void debug(MessageSupplier messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theDEBUGlevel. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
debugpublic void debug(MessageSupplier messageSupplier, Throwable throwable) Description copied from interface:LoggerLogs a message (only to be constructed if the logging level is theDEBUGlevel) including the stack trace of theThrowablethrowablepassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
debugpublic void debug(Marker marker, String message, Object p0) Description copied from interface:LoggerLogs a message with parameters at debug level.
 - 
debugpublic void debug(Marker marker, String message, Object p0, Object p1) Description copied from interface:LoggerLogs a message with parameters at debug level.
 - 
debugpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2) Description copied from interface:LoggerLogs a message with parameters at debug level.
 - 
debugpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3) Description copied from interface:LoggerLogs a message with parameters at debug level.- Specified by:
- debugin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
 
 - 
debugpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4) Description copied from interface:LoggerLogs a message with parameters at debug level.- Specified by:
- debugin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
 
 - 
debugpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) Description copied from interface:LoggerLogs a message with parameters at debug level.- Specified by:
- debugin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
 
 - 
debugpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) Description copied from interface:LoggerLogs a message with parameters at debug level.- Specified by:
- debugin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
 
 - 
debugpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) Description copied from interface:LoggerLogs a message with parameters at debug level.- Specified by:
- debugin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
 
 - 
debugpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) Description copied from interface:LoggerLogs a message with parameters at debug level.- Specified by:
- debugin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
 
 - 
debugpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) Description copied from interface:LoggerLogs a message with parameters at debug level.- Specified by:
- debugin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
- p9- parameter to the message.
 
 - 
debugpublic void debug(String message, Object p0) Description copied from interface:LoggerLogs a message with parameters at debug level.
 - 
debugpublic void debug(String message, Object p0, Object p1) Description copied from interface:LoggerLogs a message with parameters at debug level.
 - 
debugpublic void debug(String message, Object p0, Object p1, Object p2) Description copied from interface:LoggerLogs a message with parameters at debug level.
 - 
debugpublic void debug(String message, Object p0, Object p1, Object p2, Object p3) Description copied from interface:LoggerLogs a message with parameters at debug level.
 - 
debugpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4) Description copied from interface:LoggerLogs a message with parameters at debug level.
 - 
debugpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) Description copied from interface:LoggerLogs a message with parameters at debug level.- Specified by:
- debugin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
 
 - 
debugpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) Description copied from interface:LoggerLogs a message with parameters at debug level.- Specified by:
- debugin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
 
 - 
debugpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) Description copied from interface:LoggerLogs a message with parameters at debug level.- Specified by:
- debugin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
 
 - 
debugpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) Description copied from interface:LoggerLogs a message with parameters at debug level.- Specified by:
- debugin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
 
 - 
debugpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) Description copied from interface:LoggerLogs a message with parameters at debug level.- Specified by:
- debugin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
- p9- parameter to the message.
 
 - 
enterprotected EntryMessage enter(String fqcn, String format, Supplier<?>... paramSuppliers) Logs entry to a method with location information.- Parameters:
- fqcn- The fully qualified class name of the caller.
- format- Format String for the parameters.
- paramSuppliers- The Suppliers of the parameters.
 
 - 
enter@Deprecated protected EntryMessage enter(String fqcn, String format, MessageSupplier... paramSuppliers) Deprecated.Logs entry to a method with location information.- Parameters:
- fqcn- The fully qualified class name of the caller.
- format- The format String for the parameters.
- paramSuppliers- The parameters to the method.
 
 - 
enterprotected EntryMessage enter(String fqcn, String format, Object... params) Logs entry to a method with location information.- Parameters:
- fqcn- The fully qualified class name of the caller.
- format- The format String for the parameters.
- params- The parameters to the method.
 
 - 
enter@Deprecated protected EntryMessage enter(String fqcn, MessageSupplier messageSupplier) Deprecated.Logs entry to a method with location information.- Parameters:
- fqcn- The fully qualified class name of the caller.
- messageSupplier- The Supplier of the Message.
 
 - 
enterprotected EntryMessage enter(String fqcn, Message message) Logs entry to a method with location information.- Parameters:
- fqcn- The fully qualified class name of the caller.
- message- the Message.
- Since:
- 2.6
 
 - 
entry@Deprecated public void entry() Deprecated.Description copied from interface:LoggerLogs entry to a method. Used when the method in question has no parameters or when the parameters should not be logged.
 - 
entrypublic void entry(Object... params) Description copied from interface:LoggerLogs 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. 
 - 
entryprotected void entry(String fqcn, Object... params) Logs entry to a method with location information.- Parameters:
- fqcn- The fully qualified class name of the caller.
- params- The parameters to the method.
 
 - 
entryMsgprotected EntryMessage entryMsg(String format, Object... params) 
 - 
entryMsgprotected EntryMessage entryMsg(String format, MessageSupplier... paramSuppliers) 
 - 
entryMsgprotected EntryMessage entryMsg(String format, Supplier<?>... paramSuppliers) 
 - 
errorpublic void error(Marker marker, Message message) Description copied from interface:LoggerLogs a message with the specific Marker at theERRORlevel.
 - 
errorpublic void error(Marker marker, Message message, Throwable throwable) Description copied from interface:LoggerLogs a message with the specific Marker at theERRORlevel.
 - 
errorpublic void error(Marker marker, CharSequence message) Description copied from interface:LoggerLogs a message CharSequence with theERRORlevel.
 - 
errorpublic void error(Marker marker, CharSequence message, Throwable throwable) Description copied from interface:Logger
 - 
errorpublic void error(Marker marker, Object message) Description copied from interface:LoggerLogs a message object with theERRORlevel.
 - 
errorpublic void error(Marker marker, Object message, Throwable throwable) Description copied from interface:Logger
 - 
errorpublic void error(Marker marker, String message) Description copied from interface:LoggerLogs a message object with theERRORlevel.
 - 
errorpublic void error(Marker marker, String message, Object... params) Description copied from interface:LoggerLogs a message with parameters at theERRORlevel.- Specified by:
- errorin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement.
- message- the message to log; the format depends on the message factory.
- params- parameters to the message.
- See Also:
- Logger.getMessageFactory()
 
 - 
errorpublic void error(Marker marker, String message, Throwable throwable) Description copied from interface:Logger
 - 
errorpublic void error(Message message) Description copied from interface:LoggerLogs a message with the specific Marker at theERRORlevel.
 - 
errorpublic void error(Message message, Throwable throwable) Description copied from interface:LoggerLogs a message with the specific Marker at theERRORlevel.
 - 
errorpublic void error(CharSequence message) Description copied from interface:LoggerLogs a message CharSequence with theERRORlevel.
 - 
errorpublic void error(CharSequence message, Throwable throwable) Description copied from interface:Logger
 - 
errorpublic void error(Object message) Description copied from interface:LoggerLogs a message object with theERRORlevel.
 - 
errorpublic void error(Object message, Throwable throwable) Description copied from interface:Logger
 - 
errorpublic void error(String message) Description copied from interface:LoggerLogs a message object with theERRORlevel.
 - 
errorpublic void error(String message, Object... params) Description copied from interface:LoggerLogs a message with parameters at theERRORlevel.- Specified by:
- errorin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- params- parameters to the message.
- See Also:
- Logger.getMessageFactory()
 
 - 
errorpublic void error(String message, Throwable throwable) Description copied from interface:Logger
 - 
errorpublic void error(Supplier<?> messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theERRORlevel.
 - 
errorpublic void error(Supplier<?> messageSupplier, Throwable throwable) Description copied from interface:Logger
 - 
errorpublic void error(Marker marker, Supplier<?> messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theERRORlevel with the specified Marker.
 - 
errorpublic void error(Marker marker, String message, Supplier<?>... paramSuppliers) Description copied from interface:LoggerLogs a message with parameters which are only to be constructed if the logging level is theERRORlevel.
 - 
errorpublic void error(Marker marker, Supplier<?> messageSupplier, Throwable throwable) Description copied from interface:Logger
 - 
errorpublic void error(String message, Supplier<?>... paramSuppliers) Description copied from interface:LoggerLogs a message with parameters which are only to be constructed if the logging level is theERRORlevel.
 - 
errorpublic void error(Marker marker, MessageSupplier messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theERRORlevel with the specified Marker. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
errorpublic void error(Marker marker, MessageSupplier messageSupplier, Throwable throwable) Description copied from interface:LoggerLogs a message (only to be constructed if the logging level is theERRORlevel) with the specified Marker and including the stack trace of theThrowablethrowablepassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
errorpublic void error(MessageSupplier messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theERRORlevel. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
errorpublic void error(MessageSupplier messageSupplier, Throwable throwable) Description copied from interface:LoggerLogs a message (only to be constructed if the logging level is theERRORlevel) including the stack trace of theThrowablethrowablepassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
errorpublic void error(Marker marker, String message, Object p0) Description copied from interface:LoggerLogs a message with parameters at error level.
 - 
errorpublic void error(Marker marker, String message, Object p0, Object p1) Description copied from interface:LoggerLogs a message with parameters at error level.
 - 
errorpublic void error(Marker marker, String message, Object p0, Object p1, Object p2) Description copied from interface:LoggerLogs a message with parameters at error level.
 - 
errorpublic void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3) Description copied from interface:LoggerLogs a message with parameters at error level.- Specified by:
- errorin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
 
 - 
errorpublic void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4) Description copied from interface:LoggerLogs a message with parameters at error level.- Specified by:
- errorin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
 
 - 
errorpublic void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) Description copied from interface:LoggerLogs a message with parameters at error level.- Specified by:
- errorin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
 
 - 
errorpublic void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) Description copied from interface:LoggerLogs a message with parameters at error level.- Specified by:
- errorin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
 
 - 
errorpublic void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) Description copied from interface:LoggerLogs a message with parameters at error level.- Specified by:
- errorin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
 
 - 
errorpublic void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) Description copied from interface:LoggerLogs a message with parameters at error level.- Specified by:
- errorin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
 
 - 
errorpublic void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) Description copied from interface:LoggerLogs a message with parameters at error level.- Specified by:
- errorin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
- p9- parameter to the message.
 
 - 
errorpublic void error(String message, Object p0) Description copied from interface:LoggerLogs a message with parameters at error level.
 - 
errorpublic void error(String message, Object p0, Object p1) Description copied from interface:LoggerLogs a message with parameters at error level.
 - 
errorpublic void error(String message, Object p0, Object p1, Object p2) Description copied from interface:LoggerLogs a message with parameters at error level.
 - 
errorpublic void error(String message, Object p0, Object p1, Object p2, Object p3) Description copied from interface:LoggerLogs a message with parameters at error level.
 - 
errorpublic void error(String message, Object p0, Object p1, Object p2, Object p3, Object p4) Description copied from interface:LoggerLogs a message with parameters at error level.
 - 
errorpublic void error(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) Description copied from interface:LoggerLogs a message with parameters at error level.- Specified by:
- errorin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
 
 - 
errorpublic void error(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) Description copied from interface:LoggerLogs a message with parameters at error level.- Specified by:
- errorin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
 
 - 
errorpublic void error(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) Description copied from interface:LoggerLogs a message with parameters at error level.- Specified by:
- errorin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
 
 - 
errorpublic void error(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) Description copied from interface:LoggerLogs a message with parameters at error level.- Specified by:
- errorin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
 
 - 
errorpublic void error(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) Description copied from interface:LoggerLogs a message with parameters at error level.- Specified by:
- errorin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
- p9- parameter to the message.
 
 - 
exit@Deprecated public void exit() Deprecated.Description copied from interface:LoggerLogs 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:LoggerLogs exiting from a method with the result. This may be coded as:return LOGGER.exit(myResult); 
 - 
exitprotected <R> R exit(String fqcn, R result) Logs exiting from a method with the result and location information.- Type Parameters:
- R- The type of the parameter and object being returned.
- Parameters:
- fqcn- The fully qualified class name of the caller.
- result- The result being returned from the method call.
- Returns:
- the return value passed to this method.
 
 - 
exitprotected <R> R exit(String fqcn, String format, R result) Logs exiting from a method with the result and location information.- Type Parameters:
- R- The type of the parameter and object being returned.
- Parameters:
- fqcn- The fully qualified class name of the caller.
- result- The result being returned from the method call.
- Returns:
- the return value passed to this method.
 
 - 
fatalpublic void fatal(Marker marker, Message message) Description copied from interface:LoggerLogs a message with the specific Marker at theFATALlevel.
 - 
fatalpublic void fatal(Marker marker, Message message, Throwable throwable) Description copied from interface:LoggerLogs a message with the specific Marker at theFATALlevel.
 - 
fatalpublic void fatal(Marker marker, CharSequence message) Description copied from interface:LoggerLogs a message CharSequence with theFATALlevel.
 - 
fatalpublic void fatal(Marker marker, CharSequence message, Throwable throwable) Description copied from interface:Logger
 - 
fatalpublic void fatal(Marker marker, Object message) Description copied from interface:LoggerLogs a message object with theFATALlevel.
 - 
fatalpublic void fatal(Marker marker, Object message, Throwable throwable) Description copied from interface:Logger
 - 
fatalpublic void fatal(Marker marker, String message) Description copied from interface:LoggerLogs a message object with theFATALlevel.
 - 
fatalpublic void fatal(Marker marker, String message, Object... params) Description copied from interface:LoggerLogs a message with parameters at theFATALlevel.- Specified by:
- fatalin interface- Logger
- Parameters:
- marker- The marker data specific to this log statement.
- message- the message to log; the format depends on the message factory.
- params- parameters to the message.
- See Also:
- Logger.getMessageFactory()
 
 - 
fatalpublic void fatal(Marker marker, String message, Throwable throwable) Description copied from interface:Logger
 - 
fatalpublic void fatal(Message message) Description copied from interface:LoggerLogs a message with the specific Marker at theFATALlevel.
 - 
fatalpublic void fatal(Message message, Throwable throwable) Description copied from interface:LoggerLogs a message with the specific Marker at theFATALlevel.
 - 
fatalpublic void fatal(CharSequence message) Description copied from interface:LoggerLogs a message CharSequence with theFATALlevel.
 - 
fatalpublic void fatal(CharSequence message, Throwable throwable) Description copied from interface:Logger
 - 
fatalpublic void fatal(Object message) Description copied from interface:LoggerLogs a message object with theFATALlevel.
 - 
fatalpublic void fatal(Object message, Throwable throwable) Description copied from interface:Logger
 - 
fatalpublic void fatal(String message) Description copied from interface:LoggerLogs a message object with theFATALlevel.
 - 
fatalpublic void fatal(String message, Object... params) Description copied from interface:LoggerLogs a message with parameters at theFATALlevel.- Specified by:
- fatalin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- params- parameters to the message.
- See Also:
- Logger.getMessageFactory()
 
 - 
fatalpublic void fatal(String message, Throwable throwable) Description copied from interface:Logger
 - 
fatalpublic void fatal(Supplier<?> messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theFATALlevel.
 - 
fatalpublic void fatal(Supplier<?> messageSupplier, Throwable throwable) Description copied from interface:Logger
 - 
fatalpublic void fatal(Marker marker, Supplier<?> messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theFATALlevel with the specified Marker.
 - 
fatalpublic void fatal(Marker marker, String message, Supplier<?>... paramSuppliers) Description copied from interface:LoggerLogs a message with parameters which are only to be constructed if the logging level is theFATALlevel.
 - 
fatalpublic void fatal(Marker marker, Supplier<?> messageSupplier, Throwable throwable) Description copied from interface:Logger
 - 
fatalpublic void fatal(String message, Supplier<?>... paramSuppliers) Description copied from interface:LoggerLogs a message with parameters which are only to be constructed if the logging level is theFATALlevel.
 - 
fatalpublic void fatal(Marker marker, MessageSupplier messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theFATALlevel with the specified Marker. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
fatalpublic void fatal(Marker marker, MessageSupplier messageSupplier, Throwable throwable) Description copied from interface:LoggerLogs a message (only to be constructed if the logging level is theFATALlevel) with the specified Marker and including the stack trace of theThrowablethrowablepassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
fatalpublic void fatal(MessageSupplier messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theFATALlevel. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
fatalpublic void fatal(MessageSupplier messageSupplier, Throwable throwable) Description copied from interface:LoggerLogs a message (only to be constructed if the logging level is theFATALlevel) including the stack trace of theThrowablethrowablepassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
fatalpublic void fatal(Marker marker, String message, Object p0) Description copied from interface:LoggerLogs a message with parameters at fatal level.
 - 
fatalpublic void fatal(Marker marker, String message, Object p0, Object p1) Description copied from interface:LoggerLogs a message with parameters at fatal level.
 - 
fatalpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2) Description copied from interface:LoggerLogs a message with parameters at fatal level.
 - 
fatalpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3) Description copied from interface:LoggerLogs a message with parameters at fatal level.- Specified by:
- fatalin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
 
 - 
fatalpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4) Description copied from interface:LoggerLogs a message with parameters at fatal level.- Specified by:
- fatalin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
 
 - 
fatalpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) Description copied from interface:LoggerLogs a message with parameters at fatal level.- Specified by:
- fatalin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
 
 - 
fatalpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) Description copied from interface:LoggerLogs a message with parameters at fatal level.- Specified by:
- fatalin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
 
 - 
fatalpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) Description copied from interface:LoggerLogs a message with parameters at fatal level.- Specified by:
- fatalin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
 
 - 
fatalpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) Description copied from interface:LoggerLogs a message with parameters at fatal level.- Specified by:
- fatalin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
 
 - 
fatalpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) Description copied from interface:LoggerLogs a message with parameters at fatal level.- Specified by:
- fatalin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
- p9- parameter to the message.
 
 - 
fatalpublic void fatal(String message, Object p0) Description copied from interface:LoggerLogs a message with parameters at fatal level.
 - 
fatalpublic void fatal(String message, Object p0, Object p1) Description copied from interface:LoggerLogs a message with parameters at fatal level.
 - 
fatalpublic void fatal(String message, Object p0, Object p1, Object p2) Description copied from interface:LoggerLogs a message with parameters at fatal level.
 - 
fatalpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3) Description copied from interface:LoggerLogs a message with parameters at fatal level.
 - 
fatalpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4) Description copied from interface:LoggerLogs a message with parameters at fatal level.
 - 
fatalpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) Description copied from interface:LoggerLogs a message with parameters at fatal level.- Specified by:
- fatalin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
 
 - 
fatalpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) Description copied from interface:LoggerLogs a message with parameters at fatal level.- Specified by:
- fatalin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
 
 - 
fatalpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) Description copied from interface:LoggerLogs a message with parameters at fatal level.- Specified by:
- fatalin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
 
 - 
fatalpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) Description copied from interface:LoggerLogs a message with parameters at fatal level.- Specified by:
- fatalin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
 
 - 
fatalpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) Description copied from interface:LoggerLogs a message with parameters at fatal level.- Specified by:
- fatalin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
- p9- parameter to the message.
 
 - 
getMessageFactorypublic <MF extends MessageFactory> MF getMessageFactory() Description copied from interface:LoggerGets 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 theMessageFactory2interface. From version 2.6.2, the return type of this method was changed fromMessageFactoryto<MF extends MessageFactory> MF. The returned factory will always implementMessageFactory2, but the return type of this method could not be changed toMessageFactory2without breaking binary compatibility.- Specified by:
- getMessageFactoryin interface- Logger
- Returns:
- the message factory, as an instance of MessageFactory2
 
 - 
getFlowMessageFactorypublic FlowMessageFactory getFlowMessageFactory() Description copied from interface:LoggerGets the flow message factory used to convert messages into flow messages.- Specified by:
- getFlowMessageFactoryin interface- Logger
- Returns:
- the flow message factory, as an instance of FlowMessageFactory.
 
 - 
infopublic void info(Marker marker, Message message) Description copied from interface:LoggerLogs a message with the specific Marker at theINFOlevel.
 - 
infopublic void info(Marker marker, Message message, Throwable throwable) Description copied from interface:LoggerLogs a message with the specific Marker at theINFOlevel.
 - 
infopublic void info(Marker marker, CharSequence message) Description copied from interface:LoggerLogs a message CharSequence with theINFOlevel.
 - 
infopublic void info(Marker marker, CharSequence message, Throwable throwable) Description copied from interface:Logger
 - 
infopublic void info(Marker marker, Object message) Description copied from interface:LoggerLogs a message object with theINFOlevel.
 - 
infopublic void info(Marker marker, Object message, Throwable throwable) Description copied from interface:Logger
 - 
infopublic void info(Marker marker, String message) Description copied from interface:LoggerLogs a message object with theINFOlevel.
 - 
infopublic void info(Marker marker, String message, Object... params) Description copied from interface:LoggerLogs a message with parameters at theINFOlevel.- Specified by:
- infoin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- params- parameters to the message.
- See Also:
- Logger.getMessageFactory()
 
 - 
infopublic void info(Marker marker, String message, Throwable throwable) Description copied from interface:Logger
 - 
infopublic void info(Message message) Description copied from interface:LoggerLogs a message with the specific Marker at theINFOlevel.
 - 
infopublic void info(Message message, Throwable throwable) Description copied from interface:LoggerLogs a message with the specific Marker at theINFOlevel.
 - 
infopublic void info(CharSequence message) Description copied from interface:LoggerLogs a message CharSequence with theINFOlevel.
 - 
infopublic void info(CharSequence message, Throwable throwable) Description copied from interface:Logger
 - 
infopublic void info(Object message) Description copied from interface:LoggerLogs a message object with theINFOlevel.
 - 
infopublic void info(Object message, Throwable throwable) Description copied from interface:Logger
 - 
infopublic void info(String message) Description copied from interface:LoggerLogs a message object with theINFOlevel.
 - 
infopublic void info(String message, Object... params) Description copied from interface:LoggerLogs a message with parameters at theINFOlevel.- Specified by:
- infoin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- params- parameters to the message.
- See Also:
- Logger.getMessageFactory()
 
 - 
infopublic void info(String message, Throwable throwable) Description copied from interface:Logger
 - 
infopublic void info(Supplier<?> messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theINFOlevel.
 - 
infopublic void info(Supplier<?> messageSupplier, Throwable throwable) Description copied from interface:Logger
 - 
infopublic void info(Marker marker, Supplier<?> messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theINFOlevel with the specified Marker.
 - 
infopublic void info(Marker marker, String message, Supplier<?>... paramSuppliers) Description copied from interface:LoggerLogs a message with parameters which are only to be constructed if the logging level is theINFOlevel.
 - 
infopublic void info(Marker marker, Supplier<?> messageSupplier, Throwable throwable) Description copied from interface:Logger
 - 
infopublic void info(String message, Supplier<?>... paramSuppliers) Description copied from interface:LoggerLogs a message with parameters which are only to be constructed if the logging level is theINFOlevel.
 - 
infopublic void info(Marker marker, MessageSupplier messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theINFOlevel with the specified Marker. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
infopublic void info(Marker marker, MessageSupplier messageSupplier, Throwable throwable) Description copied from interface:LoggerLogs a message (only to be constructed if the logging level is theINFOlevel) with the specified Marker and including the stack trace of theThrowablethrowablepassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
infopublic void info(MessageSupplier messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theINFOlevel. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
infopublic void info(MessageSupplier messageSupplier, Throwable throwable) Description copied from interface:LoggerLogs a message (only to be constructed if the logging level is theINFOlevel) including the stack trace of theThrowablethrowablepassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
infopublic void info(Marker marker, String message, Object p0) Description copied from interface:LoggerLogs a message with parameters at info level.
 - 
infopublic void info(Marker marker, String message, Object p0, Object p1) Description copied from interface:LoggerLogs a message with parameters at info level.
 - 
infopublic void info(Marker marker, String message, Object p0, Object p1, Object p2) Description copied from interface:LoggerLogs a message with parameters at info level.
 - 
infopublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3) Description copied from interface:LoggerLogs a message with parameters at info level.- Specified by:
- infoin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
 
 - 
infopublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4) Description copied from interface:LoggerLogs a message with parameters at info level.- Specified by:
- infoin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
 
 - 
infopublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) Description copied from interface:LoggerLogs a message with parameters at info level.- Specified by:
- infoin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
 
 - 
infopublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) Description copied from interface:LoggerLogs a message with parameters at info level.- Specified by:
- infoin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
 
 - 
infopublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) Description copied from interface:LoggerLogs a message with parameters at info level.- Specified by:
- infoin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
 
 - 
infopublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) Description copied from interface:LoggerLogs a message with parameters at info level.- Specified by:
- infoin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
 
 - 
infopublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) Description copied from interface:LoggerLogs a message with parameters at info level.- Specified by:
- infoin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
- p9- parameter to the message.
 
 - 
infopublic void info(String message, Object p0) Description copied from interface:LoggerLogs a message with parameters at info level.
 - 
infopublic void info(String message, Object p0, Object p1) Description copied from interface:LoggerLogs a message with parameters at info level.
 - 
infopublic void info(String message, Object p0, Object p1, Object p2) Description copied from interface:LoggerLogs a message with parameters at info level.
 - 
infopublic void info(String message, Object p0, Object p1, Object p2, Object p3) Description copied from interface:LoggerLogs a message with parameters at info level.
 - 
infopublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4) Description copied from interface:LoggerLogs a message with parameters at info level.
 - 
infopublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) Description copied from interface:LoggerLogs a message with parameters at info level.- Specified by:
- infoin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
 
 - 
infopublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) Description copied from interface:LoggerLogs a message with parameters at info level.- Specified by:
- infoin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
 
 - 
infopublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) Description copied from interface:LoggerLogs a message with parameters at info level.- Specified by:
- infoin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
 
 - 
infopublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) Description copied from interface:LoggerLogs a message with parameters at info level.- Specified by:
- infoin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
 
 - 
infopublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) Description copied from interface:LoggerLogs a message with parameters at info level.- Specified by:
- infoin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
- p9- parameter to the message.
 
 - 
isDebugEnabledpublic boolean isDebugEnabled() Description copied from interface:LoggerChecks whether this Logger is enabled for theDEBUGLevel.- Specified by:
- isDebugEnabledin interface- Logger
- Returns:
- boolean - trueif this Logger is enabled for level DEBUG,falseotherwise.
 
 - 
isDebugEnabledpublic boolean isDebugEnabled(Marker marker) Description copied from interface:LoggerChecks whether this Logger is enabled for theDEBUGLevel.- Specified by:
- isDebugEnabledin interface- Logger
- Parameters:
- marker- The Marker to check
- Returns:
- boolean - trueif this Logger is enabled for level DEBUG,falseotherwise.
 
 - 
isEnabledpublic boolean isEnabled(Level level) Description copied from interface:LoggerChecks whether this Logger is enabled for the given Level.Note that passing in OFFalways returnstrue.
 - 
isEnabledpublic boolean isEnabled(Level level, Marker marker) Description copied from interface:LoggerChecks whether this Logger is enabled for the given Level and Marker.
 - 
isErrorEnabledpublic boolean isErrorEnabled() Description copied from interface:LoggerChecks whether this Logger is enabled for theERRORLevel.- Specified by:
- isErrorEnabledin interface- Logger
- Returns:
- boolean - trueif this Logger is enabled for levelERROR,falseotherwise.
 
 - 
isErrorEnabledpublic boolean isErrorEnabled(Marker marker) Description copied from interface:LoggerChecks whether this Logger is enabled for theERRORLevel.- Specified by:
- isErrorEnabledin interface- Logger
- Parameters:
- marker- The Marker to check
- Returns:
- boolean - trueif this Logger is enabled for levelERROR,falseotherwise.
 
 - 
isFatalEnabledpublic boolean isFatalEnabled() Description copied from interface:LoggerChecks whether this Logger is enabled for theFATALLevel.- Specified by:
- isFatalEnabledin interface- Logger
- Returns:
- boolean - trueif this Logger is enabled for levelFATAL,falseotherwise.
 
 - 
isFatalEnabledpublic boolean isFatalEnabled(Marker marker) Description copied from interface:LoggerChecks whether this Logger is enabled for theFATALLevel.- Specified by:
- isFatalEnabledin interface- Logger
- Parameters:
- marker- The Marker to check
- Returns:
- boolean - trueif this Logger is enabled for levelFATAL,falseotherwise.
 
 - 
isInfoEnabledpublic boolean isInfoEnabled() Description copied from interface:LoggerChecks whether this Logger is enabled for theINFOLevel.- Specified by:
- isInfoEnabledin interface- Logger
- Returns:
- boolean - trueif this Logger is enabled for level INFO,falseotherwise.
 
 - 
isInfoEnabledpublic boolean isInfoEnabled(Marker marker) Description copied from interface:LoggerChecks whether this Logger is enabled for theINFOLevel.- Specified by:
- isInfoEnabledin interface- Logger
- Parameters:
- marker- The Marker to check
- Returns:
- boolean - trueif this Logger is enabled for level INFO,falseotherwise.
 
 - 
isTraceEnabledpublic boolean isTraceEnabled() Description copied from interface:LoggerChecks whether this Logger is enabled for theTRACElevel.- Specified by:
- isTraceEnabledin interface- Logger
- Returns:
- boolean - trueif this Logger is enabled for level TRACE,falseotherwise.
 
 - 
isTraceEnabledpublic boolean isTraceEnabled(Marker marker) Description copied from interface:LoggerChecks whether this Logger is enabled for theTRACElevel.- Specified by:
- isTraceEnabledin interface- Logger
- Parameters:
- marker- The Marker to check
- Returns:
- boolean - trueif this Logger is enabled for level TRACE,falseotherwise.
 
 - 
isWarnEnabledpublic boolean isWarnEnabled() Description copied from interface:LoggerChecks whether this Logger is enabled for theWARNLevel.- Specified by:
- isWarnEnabledin interface- Logger
- Returns:
- boolean - trueif this Logger is enabled for levelWARN,falseotherwise.
 
 - 
isWarnEnabledpublic boolean isWarnEnabled(Marker marker) Description copied from interface:LoggerChecks whether this Logger is enabled for theWARNLevel.- Specified by:
- isWarnEnabledin interface- Logger
- Parameters:
- marker- The Marker to check
- Returns:
- boolean - trueif this Logger is enabled for levelWARN,falseotherwise.
 
 - 
logpublic void log(Level level, Marker marker, Message message) Description copied from interface:LoggerLogs a message with the specific Marker at the given level.
 - 
logpublic void log(Level level, Marker marker, Message message, Throwable throwable) Description copied from interface:LoggerLogs a message with the specific Marker at the given level.
 - 
logpublic void log(Level level, Marker marker, CharSequence message) Description copied from interface:LoggerLogs a message CharSequence with the given level.
 - 
logpublic void log(Level level, Marker marker, CharSequence message, Throwable throwable) Description copied from interface:LoggerLogs a CharSequence at the given level including the stack trace of theThrowablethrowablepassed as parameter.
 - 
logpublic void log(Level level, Marker marker, Object message) Description copied from interface:LoggerLogs a message object with the given level.
 - 
logpublic void log(Level level, Marker marker, Object message, Throwable throwable) Description copied from interface:LoggerLogs a message at the given level including the stack trace of theThrowablethrowablepassed as parameter.
 - 
logpublic void log(Level level, Marker marker, String message) Description copied from interface:LoggerLogs a message object with the given level.
 - 
logpublic void log(Level level, Marker marker, String message, Object... params) Description copied from interface:LoggerLogs a message with parameters at the given level.- Specified by:
- login interface- Logger
- Parameters:
- level- the logging level
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- params- parameters to the message.
- See Also:
- Logger.getMessageFactory()
 
 - 
logpublic void log(Level level, Marker marker, String message, Throwable throwable) Description copied from interface:LoggerLogs a message at the given level including the stack trace of theThrowablethrowablepassed as parameter.
 - 
logpublic void log(Level level, Message message) Description copied from interface:LoggerLogs a message with the specific Marker at the given level.
 - 
logpublic void log(Level level, Message message, Throwable throwable) Description copied from interface:LoggerLogs a message with the specific Marker at the given level.
 - 
logpublic void log(Level level, CharSequence message) Description copied from interface:LoggerLogs a message CharSequence with the given level.
 - 
logpublic void log(Level level, CharSequence message, Throwable throwable) Description copied from interface:LoggerLogs a CharSequence at the given level including the stack trace of theThrowablethrowablepassed as parameter.
 - 
logpublic void log(Level level, Object message) Description copied from interface:LoggerLogs a message object with the given level.
 - 
logpublic void log(Level level, Object message, Throwable throwable) Description copied from interface:LoggerLogs a message at the given level including the stack trace of theThrowablethrowablepassed as parameter.
 - 
logpublic void log(Level level, String message) Description copied from interface:LoggerLogs a message object with the given level.
 - 
logpublic void log(Level level, String message, Object... params) Description copied from interface:LoggerLogs a message with parameters at the given level.- Specified by:
- login interface- Logger
- Parameters:
- level- the logging level
- message- the message to log; the format depends on the message factory.
- params- parameters to the message.
- See Also:
- Logger.getMessageFactory()
 
 - 
logpublic void log(Level level, String message, Throwable throwable) Description copied from interface:LoggerLogs a message at the given level including the stack trace of theThrowablethrowablepassed as parameter.
 - 
logpublic void log(Level level, Supplier<?> messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is the specified level.
 - 
logpublic void log(Level level, Supplier<?> messageSupplier, Throwable throwable) Description copied from interface:LoggerLogs a message (only to be constructed if the logging level is the specified level) including the stack log of theThrowablethrowablepassed as parameter.
 - 
logpublic void log(Level level, Marker marker, Supplier<?> messageSupplier) Description copied from interface:LoggerLogs a message (only to be constructed if the logging level is the specified level) with the specified Marker.
 - 
logpublic void log(Level level, Marker marker, String message, Supplier<?>... paramSuppliers) Description copied from interface:LoggerLogs a message with parameters which are only to be constructed if the logging level is the specified level.- Specified by:
- login interface- Logger
- Parameters:
- level- the logging level
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- paramSuppliers- An array of functions, which when called, produce the desired log message parameters.
 
 - 
logpublic void log(Level level, Marker marker, Supplier<?> messageSupplier, Throwable throwable) Description copied from interface:LoggerLogs a message (only to be constructed if the logging level is the specified level) with the specified Marker and including the stack log of theThrowablethrowablepassed as parameter.
 - 
logpublic void log(Level level, String message, Supplier<?>... paramSuppliers) Description copied from interface:LoggerLogs a message with parameters which are only to be constructed if the logging level is the specified level.
 - 
logpublic void log(Level level, Marker marker, MessageSupplier messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is the specified level with the specified Marker. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
logpublic void log(Level level, Marker marker, MessageSupplier messageSupplier, Throwable throwable) Description copied from interface:LoggerLogs a message (only to be constructed if the logging level is the specified level) with the specified Marker and including the stack log of theThrowablethrowablepassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
logpublic void log(Level level, MessageSupplier messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is the specified level. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
logpublic void log(Level level, MessageSupplier messageSupplier, Throwable throwable) Description copied from interface:LoggerLogs a message (only to be constructed if the logging level is the specified level) including the stack log of theThrowablethrowablepassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
logpublic void log(Level level, Marker marker, String message, Object p0) Description copied from interface:LoggerLogs a message with parameters at the specified level.
 - 
logpublic void log(Level level, Marker marker, String message, Object p0, Object p1) Description copied from interface:LoggerLogs a message with parameters at the specified level.
 - 
logpublic void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2) Description copied from interface:LoggerLogs a message with parameters at the specified level.
 - 
logpublic void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3) Description copied from interface:LoggerLogs a message with parameters at the specified level.- Specified by:
- login interface- Logger
- Parameters:
- level- the logging level
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
 
 - 
logpublic void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4) Description copied from interface:LoggerLogs a message with parameters at the specified level.- Specified by:
- login interface- Logger
- Parameters:
- level- the logging level
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
 
 - 
logpublic void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) Description copied from interface:LoggerLogs a message with parameters at the specified level.- Specified by:
- login interface- Logger
- Parameters:
- level- the logging level
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
 
 - 
logpublic void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) Description copied from interface:LoggerLogs a message with parameters at the specified level.- Specified by:
- login interface- Logger
- Parameters:
- level- the logging level
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
 
 - 
logpublic void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) Description copied from interface:LoggerLogs a message with parameters at the specified level.- Specified by:
- login interface- Logger
- Parameters:
- level- the logging level
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
 
 - 
logpublic void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) Description copied from interface:LoggerLogs a message with parameters at the specified level.- Specified by:
- login interface- Logger
- Parameters:
- level- the logging level
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
 
 - 
logpublic void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) Description copied from interface:LoggerLogs a message with parameters at the specified level.- Specified by:
- login interface- Logger
- Parameters:
- level- the logging level
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
- p9- parameter to the message.
 
 - 
logpublic void log(Level level, String message, Object p0) Description copied from interface:LoggerLogs a message with parameters at the specified level.
 - 
logpublic void log(Level level, String message, Object p0, Object p1) Description copied from interface:LoggerLogs a message with parameters at the specified level.
 - 
logpublic void log(Level level, String message, Object p0, Object p1, Object p2) Description copied from interface:LoggerLogs a message with parameters at the specified level.
 - 
logpublic void log(Level level, String message, Object p0, Object p1, Object p2, Object p3) Description copied from interface:LoggerLogs a message with parameters at the specified level.
 - 
logpublic void log(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4) Description copied from interface:LoggerLogs a message with parameters at the specified level.- Specified by:
- login interface- Logger
- Parameters:
- level- the logging level
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
 
 - 
logpublic void log(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) Description copied from interface:LoggerLogs a message with parameters at the specified level.- Specified by:
- login interface- Logger
- Parameters:
- level- the logging level
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
 
 - 
logpublic void log(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) Description copied from interface:LoggerLogs a message with parameters at the specified level.- Specified by:
- login interface- Logger
- Parameters:
- level- the logging level
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
 
 - 
logpublic void log(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) Description copied from interface:LoggerLogs a message with parameters at the specified level.- Specified by:
- login interface- Logger
- Parameters:
- level- the logging level
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
 
 - 
logpublic void log(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) Description copied from interface:LoggerLogs a message with parameters at the specified level.- Specified by:
- login interface- Logger
- Parameters:
- level- the logging level
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
 
 - 
logpublic void log(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) Description copied from interface:LoggerLogs a message with parameters at the specified level.- Specified by:
- login interface- Logger
- Parameters:
- level- the logging level
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
- p9- parameter to the message.
 
 - 
logIfEnabledpublic void logIfEnabled(String fqcn, Level level, Marker marker, Message message, Throwable throwable) Description copied from interface:ExtendedLoggerLogs a message if the specified level is active.- Specified by:
- logIfEnabledin interface- ExtendedLogger
- Parameters:
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- level- The logging Level to check.
- marker- A Marker or null.
- message- The Message.
- throwable- the exception to log, including its stack trace.
 
 - 
logIfEnabledpublic void logIfEnabled(String fqcn, Level level, Marker marker, MessageSupplier messageSupplier, Throwable throwable) Description copied from interface:ExtendedLoggerLogs a message which is only to be constructed if the specified level is active.- Specified by:
- logIfEnabledin interface- ExtendedLogger
- Parameters:
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- level- The logging Level to check.
- marker- A Marker or null.
- messageSupplier- A function, which when called, produces the desired log message.
- throwable- the exception to log, including its stack trace.
 
 - 
logIfEnabledpublic void logIfEnabled(String fqcn, Level level, Marker marker, Object message, Throwable throwable) Description copied from interface:ExtendedLoggerLogs a message if the specified level is active.- Specified by:
- logIfEnabledin interface- ExtendedLogger
- Parameters:
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- level- The logging Level to check.
- marker- A Marker or null.
- message- The message.
- throwable- the exception to log, including its stack trace.
 
 - 
logIfEnabledpublic void logIfEnabled(String fqcn, Level level, Marker marker, CharSequence message, Throwable throwable) Description copied from interface:ExtendedLoggerLogs a CharSequence message if the specified level is active.- Specified by:
- logIfEnabledin interface- ExtendedLogger
- Parameters:
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- level- The logging Level to check.
- marker- A Marker or null.
- message- The CharSequence message.
- throwable- the exception to log, including its stack trace.
 
 - 
logIfEnabledpublic void logIfEnabled(String fqcn, Level level, Marker marker, Supplier<?> messageSupplier, Throwable throwable) Description copied from interface:ExtendedLoggerLogs a message which is only to be constructed if the specified level is active.- Specified by:
- logIfEnabledin interface- ExtendedLogger
- Parameters:
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- level- The logging Level to check.
- marker- A Marker or null.
- messageSupplier- A function, which when called, produces the desired log message.
- throwable- the exception to log, including its stack trace.
 
 - 
logIfEnabledpublic void logIfEnabled(String fqcn, Level level, Marker marker, String message) Description copied from interface:ExtendedLoggerLogs a message if the specified level is active.- Specified by:
- logIfEnabledin interface- ExtendedLogger
- Parameters:
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- level- The logging Level to check.
- marker- A Marker or null.
- message- The message.
 
 - 
logIfEnabledpublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Supplier<?>... paramSuppliers) Description copied from interface:ExtendedLoggerLogs a message whose parameters are only to be constructed if the specified level is active.- Specified by:
- logIfEnabledin interface- ExtendedLogger
- Parameters:
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- level- The logging Level to check.
- marker- A Marker or null.
- message- The message format.
- paramSuppliers- An array of functions, which when called, produce the desired log message parameters.
 
 - 
logIfEnabledpublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object... params) Description copied from interface:ExtendedLoggerLogs a message if the specified level is active.- Specified by:
- logIfEnabledin interface- ExtendedLogger
- Parameters:
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- level- The logging Level to check.
- marker- A Marker or null.
- message- The message format.
- params- The message parameters.
 
 - 
logIfEnabledpublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0) Description copied from interface:ExtendedLoggerLogs a message if the specified level is active.- Specified by:
- logIfEnabledin interface- ExtendedLogger
- Parameters:
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- level- The logging Level to check.
- marker- A Marker or null.
- message- The message format.
- p0- the message parameters
 
 - 
logIfEnabledpublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1) Description copied from interface:ExtendedLoggerLogs a message if the specified level is active.- Specified by:
- logIfEnabledin interface- ExtendedLogger
- Parameters:
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- level- The logging Level to check.
- marker- A Marker or null.
- message- The message format.
- p0- the message parameters
- p1- the message parameters
 
 - 
logIfEnabledpublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2) Description copied from interface:ExtendedLoggerLogs a message if the specified level is active.- Specified by:
- logIfEnabledin interface- ExtendedLogger
- Parameters:
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- level- The logging Level to check.
- marker- A Marker or null.
- message- The message format.
- p0- the message parameters
- p1- the message parameters
- p2- the message parameters
 
 - 
logIfEnabledpublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3) Description copied from interface:ExtendedLoggerLogs a message if the specified level is active.- Specified by:
- logIfEnabledin interface- ExtendedLogger
- Parameters:
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- level- The logging Level to check.
- marker- A Marker or null.
- message- The message format.
- p0- the message parameters
- p1- the message parameters
- p2- the message parameters
- p3- the message parameters
 
 - 
logIfEnabledpublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4) Description copied from interface:ExtendedLoggerLogs a message if the specified level is active.- Specified by:
- logIfEnabledin interface- ExtendedLogger
- Parameters:
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- level- The logging Level to check.
- marker- A Marker or null.
- message- The message format.
- p0- the message parameters
- p1- the message parameters
- p2- the message parameters
- p3- the message parameters
- p4- the message parameters
 
 - 
logIfEnabledpublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) Description copied from interface:ExtendedLoggerLogs a message if the specified level is active.- Specified by:
- logIfEnabledin interface- ExtendedLogger
- Parameters:
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- level- The logging Level to check.
- marker- A Marker or null.
- message- The message format.
- p0- the message parameters
- p1- the message parameters
- p2- the message parameters
- p3- the message parameters
- p4- the message parameters
- p5- the message parameters
 
 - 
logIfEnabledpublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) Description copied from interface:ExtendedLoggerLogs a message if the specified level is active.- Specified by:
- logIfEnabledin interface- ExtendedLogger
- Parameters:
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- level- The logging Level to check.
- marker- A Marker or null.
- message- The message format.
- p0- the message parameters
- p1- the message parameters
- p2- the message parameters
- p3- the message parameters
- p4- the message parameters
- p5- the message parameters
- p6- the message parameters
 
 - 
logIfEnabledpublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) Description copied from interface:ExtendedLoggerLogs a message if the specified level is active.- Specified by:
- logIfEnabledin interface- ExtendedLogger
- Parameters:
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- level- The logging Level to check.
- marker- A Marker or null.
- message- The message format.
- p0- the message parameters
- p1- the message parameters
- p2- the message parameters
- p3- the message parameters
- p4- the message parameters
- p5- the message parameters
- p6- the message parameters
- p7- the message parameters
 
 - 
logIfEnabledpublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) Description copied from interface:ExtendedLoggerLogs a message if the specified level is active.- Specified by:
- logIfEnabledin interface- ExtendedLogger
- Parameters:
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- level- The logging Level to check.
- marker- A Marker or null.
- message- The message format.
- p0- the message parameters
- p1- the message parameters
- p2- the message parameters
- p3- the message parameters
- p4- the message parameters
- p5- the message parameters
- p6- the message parameters
- p7- the message parameters
- p8- the message parameters
 
 - 
logIfEnabledpublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) Description copied from interface:ExtendedLoggerLogs a message if the specified level is active.- Specified by:
- logIfEnabledin interface- ExtendedLogger
- Parameters:
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- level- The logging Level to check.
- marker- A Marker or null.
- message- The message format.
- p0- the message parameters
- p1- the message parameters
- p2- the message parameters
- p3- the message parameters
- p4- the message parameters
- p5- the message parameters
- p6- the message parameters
- p7- the message parameters
- p8- the message parameters
- p9- the message parameters
 
 - 
logIfEnabledpublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Throwable throwable) Description copied from interface:ExtendedLoggerLogs a message if the specified level is active.- Specified by:
- logIfEnabledin interface- ExtendedLogger
- Parameters:
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- level- The logging Level to check.
- marker- A Marker or null.
- message- The message.
- throwable- the exception to log, including its stack trace.
 
 - 
logMessageprotected void logMessage(String fqcn, Level level, Marker marker, CharSequence message, Throwable throwable) 
 - 
logMessageprotected void logMessage(String fqcn, Level level, Marker marker, Object message, Throwable throwable) 
 - 
logMessageprotected void logMessage(String fqcn, Level level, Marker marker, MessageSupplier messageSupplier, Throwable throwable) 
 - 
logMessageprotected void logMessage(String fqcn, Level level, Marker marker, Supplier<?> messageSupplier, Throwable throwable) 
 - 
logMessageprotected void logMessage(String fqcn, Level level, Marker marker, String message, Throwable throwable) 
 - 
logMessageprotected void logMessage(String fqcn, Level level, Marker marker, String message, Object... params) 
 - 
logMessageprotected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0) 
 - 
logMessageprotected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1) 
 - 
logMessageprotected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2) 
 - 
logMessageprotected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3) 
 - 
logMessageprotected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4) 
 - 
logMessageprotected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) 
 - 
logMessageprotected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) 
 - 
logMessageprotected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) 
 - 
logMessageprotected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) 
 - 
logMessageprotected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) 
 - 
logMessageprotected void logMessage(String fqcn, Level level, Marker marker, String message, Supplier<?>... paramSuppliers) 
 - 
logMessagepublic void logMessage(Level level, Marker marker, String fqcn, StackTraceElement location, Message message, Throwable throwable) Description copied from interface:LoggerLogs a Message.- Specified by:
- logMessagein interface- LocationAwareLogger
- Specified by:
- logMessagein interface- Logger
- Parameters:
- level- The logging Level to check.
- marker- A Marker or null.
- fqcn- The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
- location- The location of the caller.
- message- The message format.
- throwable- the- Throwableto log, including its stack trace.
 
 - 
logprotected void log(Level level, Marker marker, String fqcn, StackTraceElement location, Message message, Throwable throwable) 
 - 
printfpublic void printf(Level level, Marker marker, String format, Object... params) Description copied from interface:LoggerLogs a formatted message using the specified format string and arguments.
 - 
printfpublic void printf(Level level, String format, Object... params) Description copied from interface:LoggerLogs a formatted message using the specified format string and arguments.
 - 
getRecursionDepthpublic 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
 
 - 
throwingpublic <T extends Throwable> T throwing(T throwable) Description copied from interface:Logger
 - 
throwingpublic <T extends Throwable> T throwing(Level level, T throwable) Description copied from interface:LoggerLogs aThrowableto be thrown. This may be coded as:throw logger.throwing(Level.DEBUG, myException); 
 - 
throwingprotected <T extends Throwable> T throwing(String fqcn, Level level, T throwable) Logs a Throwable to be thrown.- Type Parameters:
- T- the type of the Throwable.
- Parameters:
- fqcn- the fully qualified class name of this Logger implementation.
- level- The logging Level.
- throwable- The Throwable.
- Returns:
- the Throwable.
 
 - 
tracepublic void trace(Marker marker, Message message) Description copied from interface:LoggerLogs a message with the specific Marker at theTRACElevel.
 - 
tracepublic void trace(Marker marker, Message message, Throwable throwable) Description copied from interface:LoggerLogs a message with the specific Marker at theTRACElevel.
 - 
tracepublic void trace(Marker marker, CharSequence message) Description copied from interface:LoggerLogs a message CharSequence with theTRACElevel.
 - 
tracepublic void trace(Marker marker, CharSequence message, Throwable throwable) Description copied from interface:LoggerLogs a CharSequence at theTRACElevel including the stack trace of theThrowablethrowablepassed as parameter.- Specified by:
- tracein interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message CharSequence to log.
- throwable- the- Throwableto log, including its stack trace.
- See Also:
- Logger.debug(String)
 
 - 
tracepublic void trace(Marker marker, Object message) Description copied from interface:LoggerLogs a message object with theTRACElevel.
 - 
tracepublic void trace(Marker marker, Object message, Throwable throwable) Description copied from interface:LoggerLogs a message at theTRACElevel including the stack trace of theThrowablethrowablepassed as parameter.- Specified by:
- tracein interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message object to log.
- throwable- the- Throwableto log, including its stack trace.
- See Also:
- Logger.debug(String)
 
 - 
tracepublic void trace(Marker marker, String message) Description copied from interface:LoggerLogs a message object with theTRACElevel.
 - 
tracepublic void trace(Marker marker, String message, Object... params) Description copied from interface:LoggerLogs a message with parameters at theTRACElevel.- Specified by:
- tracein interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- params- parameters to the message.
- See Also:
- Logger.getMessageFactory()
 
 - 
tracepublic void trace(Marker marker, String message, Throwable throwable) Description copied from interface:LoggerLogs a message at theTRACElevel including the stack trace of theThrowablethrowablepassed as parameter.- Specified by:
- tracein interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message object to log.
- throwable- the- Throwableto log, including its stack trace.
- See Also:
- Logger.debug(String)
 
 - 
tracepublic void trace(Message message) Description copied from interface:LoggerLogs a message with the specific Marker at theTRACElevel.
 - 
tracepublic void trace(Message message, Throwable throwable) Description copied from interface:LoggerLogs a message with the specific Marker at theTRACElevel.
 - 
tracepublic void trace(CharSequence message) Description copied from interface:LoggerLogs a message CharSequence with theTRACElevel.
 - 
tracepublic void trace(CharSequence message, Throwable throwable) Description copied from interface:LoggerLogs a CharSequence at theTRACElevel including the stack trace of theThrowablethrowablepassed as parameter.- Specified by:
- tracein interface- Logger
- Parameters:
- message- the message CharSequence to log.
- throwable- the- Throwableto log, including its stack trace.
- See Also:
- Logger.debug(String)
 
 - 
tracepublic void trace(Object message) Description copied from interface:LoggerLogs a message object with theTRACElevel.
 - 
tracepublic void trace(Object message, Throwable throwable) Description copied from interface:LoggerLogs a message at theTRACElevel including the stack trace of theThrowablethrowablepassed as parameter.- Specified by:
- tracein interface- Logger
- Parameters:
- message- the message object to log.
- throwable- the- Throwableto log, including its stack trace.
- See Also:
- Logger.debug(String)
 
 - 
tracepublic void trace(String message) Description copied from interface:LoggerLogs a message object with theTRACElevel.
 - 
tracepublic void trace(String message, Object... params) Description copied from interface:LoggerLogs a message with parameters at theTRACElevel.- Specified by:
- tracein interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- params- parameters to the message.
- See Also:
- Logger.getMessageFactory()
 
 - 
tracepublic void trace(String message, Throwable throwable) Description copied from interface:LoggerLogs a message at theTRACElevel including the stack trace of theThrowablethrowablepassed as parameter.- Specified by:
- tracein interface- Logger
- Parameters:
- message- the message object to log.
- throwable- the- Throwableto log, including its stack trace.
- See Also:
- Logger.debug(String)
 
 - 
tracepublic void trace(Supplier<?> messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theTRACElevel.
 - 
tracepublic void trace(Supplier<?> messageSupplier, Throwable throwable) Description copied from interface:Logger
 - 
tracepublic void trace(Marker marker, Supplier<?> messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theTRACElevel with the specified Marker.
 - 
tracepublic void trace(Marker marker, String message, Supplier<?>... paramSuppliers) Description copied from interface:LoggerLogs a message with parameters which are only to be constructed if the logging level is theTRACElevel.
 - 
tracepublic void trace(Marker marker, Supplier<?> messageSupplier, Throwable throwable) Description copied from interface:Logger
 - 
tracepublic void trace(String message, Supplier<?>... paramSuppliers) Description copied from interface:LoggerLogs a message with parameters which are only to be constructed if the logging level is theTRACElevel.
 - 
tracepublic void trace(Marker marker, MessageSupplier messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theTRACElevel with the specified Marker. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
tracepublic void trace(Marker marker, MessageSupplier messageSupplier, Throwable throwable) Description copied from interface:LoggerLogs a message (only to be constructed if the logging level is theTRACElevel) with the specified Marker and including the stack trace of theThrowablethrowablepassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
tracepublic void trace(MessageSupplier messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theTRACElevel. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
tracepublic void trace(MessageSupplier messageSupplier, Throwable throwable) Description copied from interface:LoggerLogs a message (only to be constructed if the logging level is theTRACElevel) including the stack trace of theThrowablethrowablepassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
tracepublic void trace(Marker marker, String message, Object p0) Description copied from interface:LoggerLogs a message with parameters at trace level.
 - 
tracepublic void trace(Marker marker, String message, Object p0, Object p1) Description copied from interface:LoggerLogs a message with parameters at trace level.
 - 
tracepublic void trace(Marker marker, String message, Object p0, Object p1, Object p2) Description copied from interface:LoggerLogs a message with parameters at trace level.
 - 
tracepublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3) Description copied from interface:LoggerLogs a message with parameters at trace level.- Specified by:
- tracein interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
 
 - 
tracepublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4) Description copied from interface:LoggerLogs a message with parameters at trace level.- Specified by:
- tracein interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
 
 - 
tracepublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) Description copied from interface:LoggerLogs a message with parameters at trace level.- Specified by:
- tracein interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
 
 - 
tracepublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) Description copied from interface:LoggerLogs a message with parameters at trace level.- Specified by:
- tracein interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
 
 - 
tracepublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) Description copied from interface:LoggerLogs a message with parameters at trace level.- Specified by:
- tracein interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
 
 - 
tracepublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) Description copied from interface:LoggerLogs a message with parameters at trace level.- Specified by:
- tracein interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
 
 - 
tracepublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) Description copied from interface:LoggerLogs a message with parameters at trace level.- Specified by:
- tracein interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
- p9- parameter to the message.
 
 - 
tracepublic void trace(String message, Object p0) Description copied from interface:LoggerLogs a message with parameters at trace level.
 - 
tracepublic void trace(String message, Object p0, Object p1) Description copied from interface:LoggerLogs a message with parameters at trace level.
 - 
tracepublic void trace(String message, Object p0, Object p1, Object p2) Description copied from interface:LoggerLogs a message with parameters at trace level.
 - 
tracepublic void trace(String message, Object p0, Object p1, Object p2, Object p3) Description copied from interface:LoggerLogs a message with parameters at trace level.
 - 
tracepublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4) Description copied from interface:LoggerLogs a message with parameters at trace level.
 - 
tracepublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) Description copied from interface:LoggerLogs a message with parameters at trace level.- Specified by:
- tracein interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
 
 - 
tracepublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) Description copied from interface:LoggerLogs a message with parameters at trace level.- Specified by:
- tracein interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
 
 - 
tracepublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) Description copied from interface:LoggerLogs a message with parameters at trace level.- Specified by:
- tracein interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
 
 - 
tracepublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) Description copied from interface:LoggerLogs a message with parameters at trace level.- Specified by:
- tracein interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
 
 - 
tracepublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) Description copied from interface:LoggerLogs a message with parameters at trace level.- Specified by:
- tracein interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
- p9- parameter to the message.
 
 - 
traceEntrypublic EntryMessage traceEntry() Description copied from interface:LoggerLogs entry to a method. Used when the method in question has no parameters or when the parameters should not be logged.- Specified by:
- traceEntryin interface- Logger
- Returns:
- built message
 
 - 
traceEntrypublic EntryMessage traceEntry(String format, Object... params) Description copied from interface:LoggerLogs 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:
- traceEntryin interface- Logger
- Parameters:
- format- The format String for the parameters.
- params- The parameters to the method.
- Returns:
- The built Message
 
 - 
traceEntrypublic EntryMessage traceEntry(Supplier<?>... paramSuppliers) Description copied from interface:LoggerLogs entry to a method along with its parameters. For example,public void doSomething(Request foo) { LOGGER.traceEntry(()->gson.toJson(foo)); // do something }- Specified by:
- traceEntryin interface- Logger
- Parameters:
- paramSuppliers- The Suppliers for the parameters to the method.
- Returns:
- built message
 
 - 
traceEntrypublic EntryMessage traceEntry(String format, Supplier<?>... paramSuppliers) Description copied from interface:LoggerLogs 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:
- traceEntryin interface- Logger
- Parameters:
- format- The format String for the parameters.
- paramSuppliers- The Suppliers for the parameters to the method.
- Returns:
- built message
 
 - 
traceEntrypublic EntryMessage traceEntry(Message message) Description copied from interface:LoggerLogs 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 ReusableMessageto 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 returnedEntryMessageis fully processed.- Specified by:
- traceEntryin interface- Logger
- Parameters:
- message- The message. Avoid specifying a ReusableMessage, use immutable messages instead.
- Returns:
- the built message
- See Also:
- ReusableMessage
 
 - 
traceExitpublic void traceExit() Description copied from interface:LoggerLogs exit from a method. Used for methods that do not return anything.
 - 
traceExitpublic <R> R traceExit(R result) Description copied from interface:LoggerLogs exiting from a method with the result. This may be coded as:return LOGGER.traceExit(myResult); 
 - 
traceExitpublic <R> R traceExit(String format, R result) Description copied from interface:LoggerLogs exiting from a method with the result. This may be coded as:return LOGGER.traceExit("Result: {}", myResult);
 - 
traceExitpublic void traceExit(EntryMessage message) Description copied from interface:LoggerLogs 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); }
 - 
traceExitpublic <R> R traceExit(EntryMessage message, R result) Description copied from interface:LoggerLogs 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); }
 - 
traceExitpublic <R> R traceExit(Message message, R result) Description copied from interface:LoggerLogs 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); 
 - 
warnpublic void warn(Marker marker, Message message) Description copied from interface:LoggerLogs a message with the specific Marker at theWARNlevel.
 - 
warnpublic void warn(Marker marker, Message message, Throwable throwable) Description copied from interface:LoggerLogs a message with the specific Marker at theWARNlevel.
 - 
warnpublic void warn(Marker marker, CharSequence message) Description copied from interface:LoggerLogs a message CharSequence with theWARNlevel.
 - 
warnpublic void warn(Marker marker, CharSequence message, Throwable throwable) Description copied from interface:Logger
 - 
warnpublic void warn(Marker marker, Object message) Description copied from interface:LoggerLogs a message object with theWARNlevel.
 - 
warnpublic void warn(Marker marker, Object message, Throwable throwable) Description copied from interface:Logger
 - 
warnpublic void warn(Marker marker, String message) Description copied from interface:LoggerLogs a message object with theWARNlevel.
 - 
warnpublic void warn(Marker marker, String message, Object... params) Description copied from interface:LoggerLogs a message with parameters at theWARNlevel.- Specified by:
- warnin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement.
- message- the message to log; the format depends on the message factory.
- params- parameters to the message.
- See Also:
- Logger.getMessageFactory()
 
 - 
warnpublic void warn(Marker marker, String message, Throwable throwable) Description copied from interface:Logger
 - 
warnpublic void warn(Message message) Description copied from interface:LoggerLogs a message with the specific Marker at theWARNlevel.
 - 
warnpublic void warn(Message message, Throwable throwable) Description copied from interface:LoggerLogs a message with the specific Marker at theWARNlevel.
 - 
warnpublic void warn(CharSequence message) Description copied from interface:LoggerLogs a message CharSequence with theWARNlevel.
 - 
warnpublic void warn(CharSequence message, Throwable throwable) Description copied from interface:Logger
 - 
warnpublic void warn(Object message) Description copied from interface:LoggerLogs a message object with theWARNlevel.
 - 
warnpublic void warn(Object message, Throwable throwable) Description copied from interface:Logger
 - 
warnpublic void warn(String message) Description copied from interface:LoggerLogs a message object with theWARNlevel.
 - 
warnpublic void warn(String message, Object... params) Description copied from interface:LoggerLogs a message with parameters at theWARNlevel.- Specified by:
- warnin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- params- parameters to the message.
- See Also:
- Logger.getMessageFactory()
 
 - 
warnpublic void warn(String message, Throwable throwable) Description copied from interface:Logger
 - 
warnpublic void warn(Supplier<?> messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theWARNlevel.
 - 
warnpublic void warn(Supplier<?> messageSupplier, Throwable throwable) Description copied from interface:Logger
 - 
warnpublic void warn(Marker marker, Supplier<?> messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theWARNlevel with the specified Marker.
 - 
warnpublic void warn(Marker marker, String message, Supplier<?>... paramSuppliers) Description copied from interface:LoggerLogs a message with parameters which are only to be constructed if the logging level is theWARNlevel.
 - 
warnpublic void warn(Marker marker, Supplier<?> messageSupplier, Throwable throwable) Description copied from interface:Logger
 - 
warnpublic void warn(String message, Supplier<?>... paramSuppliers) Description copied from interface:LoggerLogs a message with parameters which are only to be constructed if the logging level is theWARNlevel.
 - 
warnpublic void warn(Marker marker, MessageSupplier messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theWARNlevel with the specified Marker. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
warnpublic void warn(Marker marker, MessageSupplier messageSupplier, Throwable throwable) Description copied from interface:LoggerLogs a message (only to be constructed if the logging level is theWARNlevel) with the specified Marker and including the stack warn of theThrowablethrowablepassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
warnpublic void warn(MessageSupplier messageSupplier) Description copied from interface:LoggerLogs a message which is only to be constructed if the logging level is theWARNlevel. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
warnpublic void warn(MessageSupplier messageSupplier, Throwable throwable) Description copied from interface:LoggerLogs a message (only to be constructed if the logging level is theWARNlevel) including the stack warn of theThrowablethrowablepassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.
 - 
warnpublic void warn(Marker marker, String message, Object p0) Description copied from interface:LoggerLogs a message with parameters at warn level.
 - 
warnpublic void warn(Marker marker, String message, Object p0, Object p1) Description copied from interface:LoggerLogs a message with parameters at warn level.
 - 
warnpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2) Description copied from interface:LoggerLogs a message with parameters at warn level.
 - 
warnpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3) Description copied from interface:LoggerLogs a message with parameters at warn level.- Specified by:
- warnin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
 
 - 
warnpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4) Description copied from interface:LoggerLogs a message with parameters at warn level.- Specified by:
- warnin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
 
 - 
warnpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) Description copied from interface:LoggerLogs a message with parameters at warn level.- Specified by:
- warnin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
 
 - 
warnpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) Description copied from interface:LoggerLogs a message with parameters at warn level.- Specified by:
- warnin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
 
 - 
warnpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) Description copied from interface:LoggerLogs a message with parameters at warn level.- Specified by:
- warnin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
 
 - 
warnpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) Description copied from interface:LoggerLogs a message with parameters at warn level.- Specified by:
- warnin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
 
 - 
warnpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) Description copied from interface:LoggerLogs a message with parameters at warn level.- Specified by:
- warnin interface- Logger
- Parameters:
- marker- the marker data specific to this log statement
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
- p9- parameter to the message.
 
 - 
warnpublic void warn(String message, Object p0) Description copied from interface:LoggerLogs a message with parameters at warn level.
 - 
warnpublic void warn(String message, Object p0, Object p1) Description copied from interface:LoggerLogs a message with parameters at warn level.
 - 
warnpublic void warn(String message, Object p0, Object p1, Object p2) Description copied from interface:LoggerLogs a message with parameters at warn level.
 - 
warnpublic void warn(String message, Object p0, Object p1, Object p2, Object p3) Description copied from interface:LoggerLogs a message with parameters at warn level.
 - 
warnpublic void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4) Description copied from interface:LoggerLogs a message with parameters at warn level.
 - 
warnpublic void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) Description copied from interface:LoggerLogs a message with parameters at warn level.- Specified by:
- warnin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
 
 - 
warnpublic void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) Description copied from interface:LoggerLogs a message with parameters at warn level.- Specified by:
- warnin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
 
 - 
warnpublic void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) Description copied from interface:LoggerLogs a message with parameters at warn level.- Specified by:
- warnin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
 
 - 
warnpublic void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) Description copied from interface:LoggerLogs a message with parameters at warn level.- Specified by:
- warnin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
 
 - 
warnpublic void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) Description copied from interface:LoggerLogs a message with parameters at warn level.- Specified by:
- warnin interface- Logger
- Parameters:
- message- the message to log; the format depends on the message factory.
- p0- parameter to the message.
- p1- parameter to the message.
- p2- parameter to the message.
- p3- parameter to the message.
- p4- parameter to the message.
- p5- parameter to the message.
- p6- parameter to the message.
- p7- parameter to the message.
- p8- parameter to the message.
- p9- parameter to the message.
 
 - 
requiresLocationprotected boolean requiresLocation() 
 - 
atTracepublic LogBuilder atTrace() Construct a trace log event.
 - 
atDebugpublic LogBuilder atDebug() Construct a debug log event.
 - 
atInfopublic LogBuilder atInfo() Construct an informational log event.
 - 
atWarnpublic LogBuilder atWarn() Construct a warning log event.
 - 
atErrorpublic LogBuilder atError() Construct an error log event.
 - 
atFatalpublic LogBuilder atFatal() Construct a fatal log event.
 - 
alwayspublic LogBuilder always() Construct a log event that will always be logged.
 - 
atLevelpublic LogBuilder atLevel(Level level) Construct a log event.
 - 
getLogBuilderprotected LogBuilder getLogBuilder(Level level) Returns a log builder that logs at the specified level.- Since:
- 2.20.0
 
 
- 
 
-