Interface Logger
-
- All Known Subinterfaces:
ExtendedLogger
- All Known Implementing Classes:
AbstractLogger,AsyncLogger,ExtendedLoggerWrapper,Logger,SimpleLogger,SLF4JLogger,StatusLogger
public interface LoggerThis is the central interface in the log4j package. Most logging operations, except configuration, are done through this interface.The canonical way to obtain a Logger for a class is through
LogManager.getLogger(). Typically, each class gets its own Logger named after its fully qualified class name (the default Logger name when obtained through theLogManager.getLogger()method). Thus, the simplest way to use this would be like so:public class MyClass { private static final Logger LOGGER = LogManager.getLogger(); // ... }For ease of filtering, searching, sorting, etc., it is generally a good idea to create Loggers for each class rather than sharing Loggers. Instead,
Markersshould be used for shared, filterable identification.For service provider implementations, it is recommended to extend the
Since 2.4, methods have been added to theAbstractLoggerclass rather than implementing this interface directly.Loggerinterface to support lambda expressions. The new methods allow client code to lazily log messages without explicitly checking if the requested log level is enabled. For example, previously one would write:// pre-Java 8 style optimization: explicitly check the log level // to make sure the expensiveOperation() method is only called if necessary if (logger.isTraceEnabled()) { logger.trace("Some long-running operation returned {}", expensiveOperation()); }With Java 8, the same effect can be achieved with a lambda expression:
// Java-8 style optimization: no need to explicitly check the log level: // the lambda expression is not evaluated if the TRACE level is not enabled logger.trace("Some long-running operation returned {}", () -> expensiveOperation());Note that although
MessageSupplieris provided, usingSupplierworks just the same. MessageSupplier was deprecated in 2.6 and un-deprecated in 2.8.1. Anonymous class usage of these APIs should prefer using Supplier instead.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidcatching(java.lang.Throwable t)Logs an exception or error that has been caught.voidcatching(Level level, java.lang.Throwable t)Logs an exception or error that has been caught to a specific logging level.voiddebug(java.lang.CharSequence message)Logs a message CharSequence with theDEBUGlevel.voiddebug(java.lang.CharSequence message, java.lang.Throwable t)Logs a CharSequence at theDEBUGlevel including the stack trace of theThrowabletpassed as parameter.voiddebug(java.lang.Object message)Logs a message object with theDEBUGlevel.voiddebug(java.lang.Object message, java.lang.Throwable t)voiddebug(java.lang.String message)Logs a message object with theDEBUGlevel.voiddebug(java.lang.String message, java.lang.Object p0)Logs a message with parameters at debug level.voiddebug(java.lang.String message, java.lang.Object... params)Logs a message with parameters at theDEBUGlevel.voiddebug(java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at debug level.voiddebug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at debug level.voiddebug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at debug level.voiddebug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at debug level.voiddebug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at debug level.voiddebug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at debug level.voiddebug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at debug level.voiddebug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at debug level.voiddebug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at debug level.voiddebug(java.lang.String message, java.lang.Throwable t)voiddebug(java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theDEBUGlevel.voiddebug(Marker marker, java.lang.CharSequence message)Logs a message CharSequence with theDEBUGlevel.voiddebug(Marker marker, java.lang.CharSequence message, java.lang.Throwable t)Logs a message CharSequence at theDEBUGlevel including the stack trace of theThrowabletpassed as parameter.voiddebug(Marker marker, java.lang.Object message)Logs a message object with theDEBUGlevel.voiddebug(Marker marker, java.lang.Object message, java.lang.Throwable t)voiddebug(Marker marker, java.lang.String message)Logs a message object with theDEBUGlevel.voiddebug(Marker marker, java.lang.String message, java.lang.Object p0)Logs a message with parameters at debug level.voiddebug(Marker marker, java.lang.String message, java.lang.Object... params)Logs a message with parameters at theDEBUGlevel.voiddebug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at debug level.voiddebug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at debug level.voiddebug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at debug level.voiddebug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at debug level.voiddebug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at debug level.voiddebug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at debug level.voiddebug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at debug level.voiddebug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at debug level.voiddebug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at debug level.voiddebug(Marker marker, java.lang.String message, java.lang.Throwable t)voiddebug(Marker marker, java.lang.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 msg)Logs a message with the specific Marker at theDEBUGlevel.voiddebug(Marker marker, Message msg, java.lang.Throwable t)Logs a message with the specific Marker at theDEBUGlevel.voiddebug(Marker marker, MessageSupplier msgSupplier)Logs a message which is only to be constructed if the logging level is theDEBUGlevel with the specified Marker.voiddebug(Marker marker, MessageSupplier msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theDEBUGlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.voiddebug(Marker marker, Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theDEBUGlevel with the specified Marker.voiddebug(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theDEBUGlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.voiddebug(Message msg)Logs a message with the specific Marker at theDEBUGlevel.voiddebug(Message msg, java.lang.Throwable t)Logs a message with the specific Marker at theDEBUGlevel.voiddebug(MessageSupplier msgSupplier)Logs a message which is only to be constructed if the logging level is theDEBUGlevel.voiddebug(MessageSupplier msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theDEBUGlevel) including the stack trace of theThrowabletpassed as parameter.voiddebug(Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theDEBUGlevel.voiddebug(Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theDEBUGlevel) including the stack trace of theThrowabletpassed as parameter.voidentry()Deprecated.UsetraceEntry()instead which performs the same function.voidentry(java.lang.Object... params)Deprecated.UsetraceEntry(String, Object...)instead which performs the same function.voiderror(java.lang.CharSequence message)Logs a message CharSequence with theERRORlevel.voiderror(java.lang.CharSequence message, java.lang.Throwable t)Logs a CharSequence at theERRORlevel including the stack trace of theThrowabletpassed as parameter.voiderror(java.lang.Object message)Logs a message object with theERRORlevel.voiderror(java.lang.Object message, java.lang.Throwable t)voiderror(java.lang.String message)Logs a message object with theERRORlevel.voiderror(java.lang.String message, java.lang.Object p0)Logs a message with parameters at error level.voiderror(java.lang.String message, java.lang.Object... params)Logs a message with parameters at theERRORlevel.voiderror(java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at error level.voiderror(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at error level.voiderror(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at error level.voiderror(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at error level.voiderror(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at error level.voiderror(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at error level.voiderror(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at error level.voiderror(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at error level.voiderror(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at error level.voiderror(java.lang.String message, java.lang.Throwable t)voiderror(java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theERRORlevel.voiderror(Marker marker, java.lang.CharSequence message)Logs a message CharSequence with theERRORlevel.voiderror(Marker marker, java.lang.CharSequence message, java.lang.Throwable t)Logs a CharSequence at theERRORlevel including the stack trace of theThrowabletpassed as parameter.voiderror(Marker marker, java.lang.Object message)Logs a message object with theERRORlevel.voiderror(Marker marker, java.lang.Object message, java.lang.Throwable t)voiderror(Marker marker, java.lang.String message)Logs a message object with theERRORlevel.voiderror(Marker marker, java.lang.String message, java.lang.Object p0)Logs a message with parameters at error level.voiderror(Marker marker, java.lang.String message, java.lang.Object... params)Logs a message with parameters at theERRORlevel.voiderror(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at error level.voiderror(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at error level.voiderror(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at error level.voiderror(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at error level.voiderror(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at error level.voiderror(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at error level.voiderror(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at error level.voiderror(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at error level.voiderror(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at error level.voiderror(Marker marker, java.lang.String message, java.lang.Throwable t)voiderror(Marker marker, java.lang.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 msg)Logs a message with the specific Marker at theERRORlevel.voiderror(Marker marker, Message msg, java.lang.Throwable t)Logs a message with the specific Marker at theERRORlevel.voiderror(Marker marker, MessageSupplier msgSupplier)Logs a message which is only to be constructed if the logging level is theERRORlevel with the specified Marker.voiderror(Marker marker, MessageSupplier msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theERRORlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.voiderror(Marker marker, Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theERRORlevel with the specified Marker.voiderror(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theERRORlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.voiderror(Message msg)Logs a message with the specific Marker at theERRORlevel.voiderror(Message msg, java.lang.Throwable t)Logs a message with the specific Marker at theERRORlevel.voiderror(MessageSupplier msgSupplier)Logs a message which is only to be constructed if the logging level is theERRORlevel.voiderror(MessageSupplier msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theERRORlevel) including the stack trace of theThrowabletpassed as parameter.voiderror(Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theERRORlevel.voiderror(Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theERRORlevel) including the stack trace of theThrowabletpassed as parameter.voidexit()Deprecated.UsetraceExit()instead which performs the same function.<R> Rexit(R result)Deprecated.UsetraceExit(Object)instead which performs the same function.voidfatal(java.lang.CharSequence message)Logs a message CharSequence with theFATALlevel.voidfatal(java.lang.CharSequence message, java.lang.Throwable t)Logs a CharSequence at theFATALlevel including the stack trace of theThrowabletpassed as parameter.voidfatal(java.lang.Object message)Logs a message object with theFATALlevel.voidfatal(java.lang.Object message, java.lang.Throwable t)voidfatal(java.lang.String message)Logs a message object with theFATALlevel.voidfatal(java.lang.String message, java.lang.Object p0)Logs a message with parameters at fatal level.voidfatal(java.lang.String message, java.lang.Object... params)Logs a message with parameters at theFATALlevel.voidfatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at fatal level.voidfatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at fatal level.voidfatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at fatal level.voidfatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at fatal level.voidfatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at fatal level.voidfatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at fatal level.voidfatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at fatal level.voidfatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at fatal level.voidfatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at fatal level.voidfatal(java.lang.String message, java.lang.Throwable t)voidfatal(java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theFATALlevel.voidfatal(Marker marker, java.lang.CharSequence message)Logs a message CharSequence with theFATALlevel.voidfatal(Marker marker, java.lang.CharSequence message, java.lang.Throwable t)Logs a CharSequence at theFATALlevel including the stack trace of theThrowabletpassed as parameter.voidfatal(Marker marker, java.lang.Object message)Logs a message object with theFATALlevel.voidfatal(Marker marker, java.lang.Object message, java.lang.Throwable t)voidfatal(Marker marker, java.lang.String message)Logs a message object with theFATALlevel.voidfatal(Marker marker, java.lang.String message, java.lang.Object p0)Logs a message with parameters at fatal level.voidfatal(Marker marker, java.lang.String message, java.lang.Object... params)Logs a message with parameters at theFATALlevel.voidfatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at fatal level.voidfatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at fatal level.voidfatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at fatal level.voidfatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at fatal level.voidfatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at fatal level.voidfatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at fatal level.voidfatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at fatal level.voidfatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at fatal level.voidfatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at fatal level.voidfatal(Marker marker, java.lang.String message, java.lang.Throwable t)voidfatal(Marker marker, java.lang.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 msg)Logs a message with the specific Marker at theFATALlevel.voidfatal(Marker marker, Message msg, java.lang.Throwable t)Logs a message with the specific Marker at theFATALlevel.voidfatal(Marker marker, MessageSupplier msgSupplier)Logs a message which is only to be constructed if the logging level is theFATALlevel with the specified Marker.voidfatal(Marker marker, MessageSupplier msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theFATALlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.voidfatal(Marker marker, Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theFATALlevel with the specified Marker.voidfatal(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theFATALlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.voidfatal(Message msg)Logs a message with the specific Marker at theFATALlevel.voidfatal(Message msg, java.lang.Throwable t)Logs a message with the specific Marker at theFATALlevel.voidfatal(MessageSupplier msgSupplier)Logs a message which is only to be constructed if the logging level is theFATALlevel.voidfatal(MessageSupplier msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theFATALlevel) including the stack trace of theThrowabletpassed as parameter.voidfatal(Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theFATALlevel.voidfatal(Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theFATALlevel) including the stack trace of theThrowabletpassed as parameter.LevelgetLevel()Gets the Level associated with the Logger.<MF extends MessageFactory>
MFgetMessageFactory()Gets the message factory used to convert message Objects and Strings/CharSequences into actual log Messages.java.lang.StringgetName()Gets the logger name.voidinfo(java.lang.CharSequence message)Logs a message CharSequence with theINFOlevel.voidinfo(java.lang.CharSequence message, java.lang.Throwable t)Logs a CharSequence at theINFOlevel including the stack trace of theThrowabletpassed as parameter.voidinfo(java.lang.Object message)Logs a message object with theINFOlevel.voidinfo(java.lang.Object message, java.lang.Throwable t)voidinfo(java.lang.String message)Logs a message object with theINFOlevel.voidinfo(java.lang.String message, java.lang.Object p0)Logs a message with parameters at info level.voidinfo(java.lang.String message, java.lang.Object... params)Logs a message with parameters at theINFOlevel.voidinfo(java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at info level.voidinfo(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at info level.voidinfo(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at info level.voidinfo(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at info level.voidinfo(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at info level.voidinfo(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at info level.voidinfo(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at info level.voidinfo(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at info level.voidinfo(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at info level.voidinfo(java.lang.String message, java.lang.Throwable t)voidinfo(java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theINFOlevel.voidinfo(Marker marker, java.lang.CharSequence message)Logs a message CharSequence with theINFOlevel.voidinfo(Marker marker, java.lang.CharSequence message, java.lang.Throwable t)Logs a CharSequence at theINFOlevel including the stack trace of theThrowabletpassed as parameter.voidinfo(Marker marker, java.lang.Object message)Logs a message object with theINFOlevel.voidinfo(Marker marker, java.lang.Object message, java.lang.Throwable t)voidinfo(Marker marker, java.lang.String message)Logs a message object with theINFOlevel.voidinfo(Marker marker, java.lang.String message, java.lang.Object p0)Logs a message with parameters at info level.voidinfo(Marker marker, java.lang.String message, java.lang.Object... params)Logs a message with parameters at theINFOlevel.voidinfo(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at info level.voidinfo(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at info level.voidinfo(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at info level.voidinfo(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at info level.voidinfo(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at info level.voidinfo(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at info level.voidinfo(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at info level.voidinfo(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at info level.voidinfo(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at info level.voidinfo(Marker marker, java.lang.String message, java.lang.Throwable t)voidinfo(Marker marker, java.lang.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 msg)Logs a message with the specific Marker at theINFOlevel.voidinfo(Marker marker, Message msg, java.lang.Throwable t)Logs a message with the specific Marker at theINFOlevel.voidinfo(Marker marker, MessageSupplier msgSupplier)Logs a message which is only to be constructed if the logging level is theINFOlevel with the specified Marker.voidinfo(Marker marker, MessageSupplier msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theINFOlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.voidinfo(Marker marker, Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theINFOlevel with the specified Marker.voidinfo(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theINFOlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.voidinfo(Message msg)Logs a message with the specific Marker at theINFOlevel.voidinfo(Message msg, java.lang.Throwable t)Logs a message with the specific Marker at theINFOlevel.voidinfo(MessageSupplier msgSupplier)Logs a message which is only to be constructed if the logging level is theINFOlevel.voidinfo(MessageSupplier msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theINFOlevel) including the stack trace of theThrowabletpassed as parameter.voidinfo(Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theINFOlevel.voidinfo(Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theINFOlevel) including the stack trace of theThrowabletpassed as parameter.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, java.lang.CharSequence message)Logs a message CharSequence with the given level.voidlog(Level level, java.lang.CharSequence message, java.lang.Throwable t)Logs a CharSequence at the given level including the stack trace of theThrowabletpassed as parameter.voidlog(Level level, java.lang.Object message)Logs a message object with the given level.voidlog(Level level, java.lang.Object message, java.lang.Throwable t)Logs a message at the given level including the stack trace of theThrowabletpassed as parameter.voidlog(Level level, java.lang.String message)Logs a message object with the given level.voidlog(Level level, java.lang.String message, java.lang.Object p0)Logs a message with parameters at the specified level.voidlog(Level level, java.lang.String message, java.lang.Object... params)Logs a message with parameters at the given level.voidlog(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at the specified level.voidlog(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at the specified level.voidlog(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at the specified level.voidlog(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at the specified level.voidlog(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at the specified level.voidlog(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at the specified level.voidlog(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at the specified level.voidlog(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at the specified level.voidlog(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at the specified level.voidlog(Level level, java.lang.String message, java.lang.Throwable t)Logs a message at the given level including the stack trace of theThrowabletpassed as parameter.voidlog(Level level, java.lang.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, java.lang.CharSequence message)Logs a message CharSequence with the given level.voidlog(Level level, Marker marker, java.lang.CharSequence message, java.lang.Throwable t)Logs a CharSequence at the given level including the stack trace of theThrowabletpassed as parameter.voidlog(Level level, Marker marker, java.lang.Object message)Logs a message object with the given level.voidlog(Level level, Marker marker, java.lang.Object message, java.lang.Throwable t)Logs a message at the given level including the stack trace of theThrowabletpassed as parameter.voidlog(Level level, Marker marker, java.lang.String message)Logs a message object with the given level.voidlog(Level level, Marker marker, java.lang.String message, java.lang.Object p0)Logs a message with parameters at the specified level.voidlog(Level level, Marker marker, java.lang.String message, java.lang.Object... params)Logs a message with parameters at the given level.voidlog(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at the specified level.voidlog(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at the specified level.voidlog(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at the specified level.voidlog(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at the specified level.voidlog(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at the specified level.voidlog(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at the specified level.voidlog(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at the specified level.voidlog(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at the specified level.voidlog(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at the specified level.voidlog(Level level, Marker marker, java.lang.String message, java.lang.Throwable t)Logs a message at the given level including the stack trace of theThrowabletpassed as parameter.voidlog(Level level, Marker marker, java.lang.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 msg)Logs a message with the specific Marker at the given level.voidlog(Level level, Marker marker, Message msg, java.lang.Throwable t)Logs a message with the specific Marker at the given level.voidlog(Level level, Marker marker, MessageSupplier msgSupplier)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 msgSupplier, java.lang.Throwable t)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 theThrowabletpassed as parameter.voidlog(Level level, Marker marker, Supplier<?> msgSupplier)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<?> msgSupplier, java.lang.Throwable t)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 theThrowabletpassed as parameter.voidlog(Level level, Message msg)Logs a message with the specific Marker at the given level.voidlog(Level level, Message msg, java.lang.Throwable t)Logs a message with the specific Marker at the given level.voidlog(Level level, MessageSupplier msgSupplier)Logs a message which is only to be constructed if the logging level is the specified level.voidlog(Level level, MessageSupplier msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is the specified level) including the stack log of theThrowabletpassed as parameter.voidlog(Level level, Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is the specified level.voidlog(Level level, Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is the specified level) including the stack log of theThrowabletpassed as parameter.voidprintf(Level level, java.lang.String format, java.lang.Object... params)Logs a formatted message using the specified format string and arguments.voidprintf(Level level, Marker marker, java.lang.String format, java.lang.Object... params)Logs a formatted message using the specified format string and arguments.<T extends java.lang.Throwable>
Tthrowing(Level level, T t)Logs an exception or error to be thrown.<T extends java.lang.Throwable>
Tthrowing(T t)Logs an exception or error to be thrown.voidtrace(java.lang.CharSequence message)Logs a message CharSequence with theTRACElevel.voidtrace(java.lang.CharSequence message, java.lang.Throwable t)Logs a CharSequence at theTRACElevel including the stack trace of theThrowabletpassed as parameter.voidtrace(java.lang.Object message)Logs a message object with theTRACElevel.voidtrace(java.lang.Object message, java.lang.Throwable t)voidtrace(java.lang.String message)Logs a message object with theTRACElevel.voidtrace(java.lang.String message, java.lang.Object p0)Logs a message with parameters at trace level.voidtrace(java.lang.String message, java.lang.Object... params)Logs a message with parameters at theTRACElevel.voidtrace(java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at trace level.voidtrace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at trace level.voidtrace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at trace level.voidtrace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at trace level.voidtrace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at trace level.voidtrace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at trace level.voidtrace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at trace level.voidtrace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at trace level.voidtrace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at trace level.voidtrace(java.lang.String message, java.lang.Throwable t)voidtrace(java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theTRACElevel.voidtrace(Marker marker, java.lang.CharSequence message)Logs a message CharSequence with theTRACElevel.voidtrace(Marker marker, java.lang.CharSequence message, java.lang.Throwable t)Logs a CharSequence at theTRACElevel including the stack trace of theThrowabletpassed as parameter.voidtrace(Marker marker, java.lang.Object message)Logs a message object with theTRACElevel.voidtrace(Marker marker, java.lang.Object message, java.lang.Throwable t)voidtrace(Marker marker, java.lang.String message)Logs a message object with theTRACElevel.voidtrace(Marker marker, java.lang.String message, java.lang.Object p0)Logs a message with parameters at trace level.voidtrace(Marker marker, java.lang.String message, java.lang.Object... params)Logs a message with parameters at theTRACElevel.voidtrace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at trace level.voidtrace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at trace level.voidtrace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at trace level.voidtrace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at trace level.voidtrace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at trace level.voidtrace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at trace level.voidtrace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at trace level.voidtrace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at trace level.voidtrace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at trace level.voidtrace(Marker marker, java.lang.String message, java.lang.Throwable t)voidtrace(Marker marker, java.lang.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 msg)Logs a message with the specific Marker at theTRACElevel.voidtrace(Marker marker, Message msg, java.lang.Throwable t)Logs a message with the specific Marker at theTRACElevel.voidtrace(Marker marker, MessageSupplier msgSupplier)Logs a message which is only to be constructed if the logging level is theTRACElevel with the specified Marker.voidtrace(Marker marker, MessageSupplier msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theTRACElevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.voidtrace(Marker marker, Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theTRACElevel with the specified Marker.voidtrace(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theTRACElevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.voidtrace(Message msg)Logs a message with the specific Marker at theTRACElevel.voidtrace(Message msg, java.lang.Throwable t)Logs a message with the specific Marker at theTRACElevel.voidtrace(MessageSupplier msgSupplier)Logs a message which is only to be constructed if the logging level is theTRACElevel.voidtrace(MessageSupplier msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theTRACElevel) including the stack trace of theThrowabletpassed as parameter.voidtrace(Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theTRACElevel.voidtrace(Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theTRACElevel) including the stack trace of theThrowabletpassed as parameter.EntryMessagetraceEntry()Logs entry to a method.EntryMessagetraceEntry(java.lang.String format, java.lang.Object... params)Logs entry to a method along with its parameters.EntryMessagetraceEntry(java.lang.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(java.lang.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(java.lang.CharSequence message)Logs a message CharSequence with theWARNlevel.voidwarn(java.lang.CharSequence message, java.lang.Throwable t)Logs a CharSequence at theWARNlevel including the stack trace of theThrowabletpassed as parameter.voidwarn(java.lang.Object message)Logs a message object with theWARNlevel.voidwarn(java.lang.Object message, java.lang.Throwable t)voidwarn(java.lang.String message)Logs a message object with theWARNlevel.voidwarn(java.lang.String message, java.lang.Object p0)Logs a message with parameters at warn level.voidwarn(java.lang.String message, java.lang.Object... params)Logs a message with parameters at theWARNlevel.voidwarn(java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at warn level.voidwarn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at warn level.voidwarn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at warn level.voidwarn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at warn level.voidwarn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at warn level.voidwarn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at warn level.voidwarn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at warn level.voidwarn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at warn level.voidwarn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at warn level.voidwarn(java.lang.String message, java.lang.Throwable t)voidwarn(java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theWARNlevel.voidwarn(Marker marker, java.lang.CharSequence message)Logs a message CharSequence with theWARNlevel.voidwarn(Marker marker, java.lang.CharSequence message, java.lang.Throwable t)Logs a CharSequence at theWARNlevel including the stack trace of theThrowabletpassed as parameter.voidwarn(Marker marker, java.lang.Object message)Logs a message object with theWARNlevel.voidwarn(Marker marker, java.lang.Object message, java.lang.Throwable t)voidwarn(Marker marker, java.lang.String message)Logs a message object with theWARNlevel.voidwarn(Marker marker, java.lang.String message, java.lang.Object p0)Logs a message with parameters at warn level.voidwarn(Marker marker, java.lang.String message, java.lang.Object... params)Logs a message with parameters at theWARNlevel.voidwarn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at warn level.voidwarn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at warn level.voidwarn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at warn level.voidwarn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at warn level.voidwarn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at warn level.voidwarn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at warn level.voidwarn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at warn level.voidwarn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at warn level.voidwarn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at warn level.voidwarn(Marker marker, java.lang.String message, java.lang.Throwable t)voidwarn(Marker marker, java.lang.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 msg)Logs a message with the specific Marker at theWARNlevel.voidwarn(Marker marker, Message msg, java.lang.Throwable t)Logs a message with the specific Marker at theWARNlevel.voidwarn(Marker marker, MessageSupplier msgSupplier)Logs a message which is only to be constructed if the logging level is theWARNlevel with the specified Marker.voidwarn(Marker marker, MessageSupplier msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theWARNlevel) with the specified Marker and including the stack warn of theThrowabletpassed as parameter.voidwarn(Marker marker, Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theWARNlevel with the specified Marker.voidwarn(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theWARNlevel) with the specified Marker and including the stack warn of theThrowabletpassed as parameter.voidwarn(Message msg)Logs a message with the specific Marker at theWARNlevel.voidwarn(Message msg, java.lang.Throwable t)Logs a message with the specific Marker at theWARNlevel.voidwarn(MessageSupplier msgSupplier)Logs a message which is only to be constructed if the logging level is theWARNlevel.voidwarn(MessageSupplier msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theWARNlevel) including the stack warn of theThrowabletpassed as parameter.voidwarn(Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theWARNlevel.voidwarn(Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theWARNlevel) including the stack warn of theThrowabletpassed as parameter.
-
-
-
Method Detail
-
catching
void catching(Level level, java.lang.Throwable t)
Logs an exception or error that has been caught to a specific logging level.- Parameters:
level- The logging Level.t- The Throwable.
-
catching
void catching(java.lang.Throwable t)
Logs an exception or error that has been caught. 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.- Parameters:
t- The Throwable.
-
debug
void debug(Marker marker, Message msg)
Logs a message with the specific Marker at theDEBUGlevel.- Parameters:
marker- the marker data specific to this log statementmsg- the message string to be logged
-
debug
void debug(Marker marker, Message msg, java.lang.Throwable t)
Logs a message with the specific Marker at theDEBUGlevel.- Parameters:
marker- the marker data specific to this log statementmsg- the message string to be loggedt- A Throwable or null.
-
debug
void debug(Marker marker, MessageSupplier msgSupplier)
Logs 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.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message.- Since:
- 2.4
-
debug
void debug(Marker marker, MessageSupplier msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theDEBUGlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message.t- A Throwable or null.- Since:
- 2.4
-
debug
void debug(Marker marker, java.lang.CharSequence message)
Logs a message CharSequence with theDEBUGlevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message CharSequence to log.
-
debug
void debug(Marker marker, java.lang.CharSequence message, java.lang.Throwable t)
Logs a message CharSequence at theDEBUGlevel including the stack trace of theThrowabletpassed as parameter.- Parameters:
marker- the marker data specific to this log statementmessage- the message CharSequence to log.t- the exception to log, including its stack trace.
-
debug
void debug(Marker marker, java.lang.Object message)
Logs a message object with theDEBUGlevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message object to log.
-
debug
void debug(Marker marker, java.lang.Object message, java.lang.Throwable t)
- Parameters:
marker- the marker data specific to this log statementmessage- the message to log.t- the exception to log, including its stack trace.
-
debug
void debug(Marker marker, java.lang.String message)
Logs a message object with theDEBUGlevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message object to log.
-
debug
void debug(Marker marker, java.lang.String message, java.lang.Object... params)
Logs a message with parameters at theDEBUGlevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.params- parameters to the message.- See Also:
getMessageFactory()
-
debug
void debug(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is theDEBUGlevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.paramSuppliers- An array of functions, which when called, produce the desired log message parameters.- Since:
- 2.4
-
debug
void debug(Marker marker, java.lang.String message, java.lang.Throwable t)
- Parameters:
marker- the marker data specific to this log statementmessage- the message to log.t- the exception to log, including its stack trace.
-
debug
void debug(Marker marker, Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is theDEBUGlevel with the specified Marker.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.- Since:
- 2.4
-
debug
void debug(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theDEBUGlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.t- A Throwable or null.- Since:
- 2.4
-
debug
void debug(Message msg)
Logs a message with the specific Marker at theDEBUGlevel.- Parameters:
msg- the message string to be logged
-
debug
void debug(Message msg, java.lang.Throwable t)
Logs a message with the specific Marker at theDEBUGlevel.- Parameters:
msg- the message string to be loggedt- A Throwable or null.
-
debug
void debug(MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is theDEBUGlevel. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
msgSupplier- A function, which when called, produces the desired log message.- Since:
- 2.4
-
debug
void debug(MessageSupplier msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theDEBUGlevel) including the stack trace of theThrowabletpassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
msgSupplier- A function, which when called, produces the desired log message.t- the exception to log, including its stack trace.- Since:
- 2.4
-
debug
void debug(java.lang.CharSequence message)
Logs a message CharSequence with theDEBUGlevel.- Parameters:
message- the message object to log.
-
debug
void debug(java.lang.CharSequence message, java.lang.Throwable t)Logs a CharSequence at theDEBUGlevel including the stack trace of theThrowabletpassed as parameter.- Parameters:
message- the message CharSequence to log.t- the exception to log, including its stack trace.
-
debug
void debug(java.lang.Object message)
Logs a message object with theDEBUGlevel.- Parameters:
message- the message object to log.
-
debug
void debug(java.lang.Object message, java.lang.Throwable t)- Parameters:
message- the message to log.t- the exception to log, including its stack trace.
-
debug
void debug(java.lang.String message)
Logs a message object with theDEBUGlevel.- Parameters:
message- the message string to log.
-
debug
void debug(java.lang.String message, java.lang.Object... params)Logs a message with parameters at theDEBUGlevel.- Parameters:
message- the message to log; the format depends on the message factory.params- parameters to the message.- See Also:
getMessageFactory()
-
debug
void debug(java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theDEBUGlevel.- Parameters:
message- the message to log; the format depends on the message factory.paramSuppliers- An array of functions, which when called, produce the desired log message parameters.- Since:
- 2.4
-
debug
void debug(java.lang.String message, java.lang.Throwable t)- Parameters:
message- the message to log.t- the exception to log, including its stack trace.
-
debug
void debug(Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is theDEBUGlevel.- Parameters:
msgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.- Since:
- 2.4
-
debug
void debug(Supplier<?> msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theDEBUGlevel) including the stack trace of theThrowabletpassed as parameter.- Parameters:
msgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.t- the exception to log, including its stack trace.- Since:
- 2.4
-
debug
void debug(Marker marker, java.lang.String message, java.lang.Object p0)
Logs a message with parameters at debug level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.
-
debug
void debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at debug level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.
-
debug
void debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at debug level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.
-
debug
void debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at debug level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.
-
debug
void debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at debug level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.
-
debug
void debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at debug level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.
-
debug
void debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at debug level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.
-
debug
void debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at debug level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.
-
debug
void debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at debug level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.
-
debug
void debug(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at debug level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.p9- parameter to the message.
-
debug
void debug(java.lang.String message, java.lang.Object p0)Logs a message with parameters at debug level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.
-
debug
void debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at debug level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.
-
debug
void debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at debug level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.
-
debug
void debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at debug level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.
-
debug
void debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at debug level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.
-
debug
void debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at debug level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.
-
debug
void debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at debug level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.
-
debug
void debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at debug level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.
-
debug
void debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at debug level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.
-
debug
void debug(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at debug level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.p9- parameter to the message.
-
entry
@Deprecated void entry()
Deprecated.UsetraceEntry()instead which performs the same function.Logs entry to a method. Used when the method in question has no parameters or when the parameters should not be logged.
-
entry
@Deprecated void entry(java.lang.Object... params)
Deprecated.UsetraceEntry(String, Object...)instead which performs the same function.Logs entry to a method along with its parameters (consider using one of thetraceEntry(...)methods instead.)For example:
public void doSomething(String foo, int bar) { LOGGER.entry(foo, bar); // do something }The use of methods such as this are more effective when combined with aspect-oriented programming or other bytecode manipulation tools. It can be rather tedious (and messy) to use this type of method manually.
- Parameters:
params- The parameters to the method.
-
error
void error(Marker marker, Message msg)
Logs a message with the specific Marker at theERRORlevel.- Parameters:
marker- the marker data specific to this log statementmsg- the message string to be logged
-
error
void error(Marker marker, Message msg, java.lang.Throwable t)
Logs a message with the specific Marker at theERRORlevel.- Parameters:
marker- the marker data specific to this log statementmsg- the message string to be loggedt- A Throwable or null.
-
error
void error(Marker marker, MessageSupplier msgSupplier)
Logs 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.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message.- Since:
- 2.4
-
error
void error(Marker marker, MessageSupplier msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theERRORlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message.t- A Throwable or null.- Since:
- 2.4
-
error
void error(Marker marker, java.lang.CharSequence message)
Logs a message CharSequence with theERRORlevel.- Parameters:
marker- the marker data specific to this log statement.message- the message CharSequence to log.
-
error
void error(Marker marker, java.lang.CharSequence message, java.lang.Throwable t)
Logs a CharSequence at theERRORlevel including the stack trace of theThrowabletpassed as parameter.- Parameters:
marker- the marker data specific to this log statement.message- the message CharSequence to log.t- the exception to log, including its stack trace.
-
error
void error(Marker marker, java.lang.Object message)
Logs a message object with theERRORlevel.- Parameters:
marker- the marker data specific to this log statement.message- the message object to log.
-
error
void error(Marker marker, java.lang.Object message, java.lang.Throwable t)
- Parameters:
marker- the marker data specific to this log statement.message- the message object to log.t- the exception to log, including its stack trace.
-
error
void error(Marker marker, java.lang.String message)
Logs a message object with theERRORlevel.- Parameters:
marker- the marker data specific to this log statement.message- the message object to log.
-
error
void error(Marker marker, java.lang.String message, java.lang.Object... params)
Logs a message with parameters at theERRORlevel.- 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:
getMessageFactory()
-
error
void error(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is theERRORlevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.paramSuppliers- An array of functions, which when called, produce the desired log message parameters.- Since:
- 2.4
-
error
void error(Marker marker, java.lang.String message, java.lang.Throwable t)
- Parameters:
marker- the marker data specific to this log statement.message- the message object to log.t- the exception to log, including its stack trace.
-
error
void error(Marker marker, Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is theERRORlevel with the specified Marker.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.- Since:
- 2.4
-
error
void error(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theERRORlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.t- A Throwable or null.- Since:
- 2.4
-
error
void error(Message msg)
Logs a message with the specific Marker at theERRORlevel.- Parameters:
msg- the message string to be logged
-
error
void error(Message msg, java.lang.Throwable t)
Logs a message with the specific Marker at theERRORlevel.- Parameters:
msg- the message string to be loggedt- A Throwable or null.
-
error
void error(MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is theERRORlevel. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
msgSupplier- A function, which when called, produces the desired log message.- Since:
- 2.4
-
error
void error(MessageSupplier msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theERRORlevel) including the stack trace of theThrowabletpassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
msgSupplier- A function, which when called, produces the desired log message.t- the exception to log, including its stack trace.- Since:
- 2.4
-
error
void error(java.lang.CharSequence message)
Logs a message CharSequence with theERRORlevel.- Parameters:
message- the message CharSequence to log.
-
error
void error(java.lang.CharSequence message, java.lang.Throwable t)Logs a CharSequence at theERRORlevel including the stack trace of theThrowabletpassed as parameter.- Parameters:
message- the message CharSequence to log.t- the exception to log, including its stack trace.
-
error
void error(java.lang.Object message)
Logs a message object with theERRORlevel.- Parameters:
message- the message object to log.
-
error
void error(java.lang.Object message, java.lang.Throwable t)- Parameters:
message- the message object to log.t- the exception to log, including its stack trace.
-
error
void error(java.lang.String message)
Logs a message object with theERRORlevel.- Parameters:
message- the message string to log.
-
error
void error(java.lang.String message, java.lang.Object... params)Logs a message with parameters at theERRORlevel.- Parameters:
message- the message to log; the format depends on the message factory.params- parameters to the message.- See Also:
getMessageFactory()
-
error
void error(java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theERRORlevel.- Parameters:
message- the message to log; the format depends on the message factory.paramSuppliers- An array of functions, which when called, produce the desired log message parameters.- Since:
- 2.4
-
error
void error(java.lang.String message, java.lang.Throwable t)- Parameters:
message- the message object to log.t- the exception to log, including its stack trace.
-
error
void error(Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is theERRORlevel.- Parameters:
msgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.- Since:
- 2.4
-
error
void error(Supplier<?> msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theERRORlevel) including the stack trace of theThrowabletpassed as parameter.- Parameters:
msgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.t- the exception to log, including its stack trace.- Since:
- 2.4
-
error
void error(Marker marker, java.lang.String message, java.lang.Object p0)
Logs a message with parameters at error level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.
-
error
void error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at error level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.
-
error
void error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at error level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.
-
error
void error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at error level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.
-
error
void error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at error level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.
-
error
void error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at error level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.
-
error
void error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at error level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.
-
error
void error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at error level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.
-
error
void error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at error level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.
-
error
void error(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at error level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.p9- parameter to the message.
-
error
void error(java.lang.String message, java.lang.Object p0)Logs a message with parameters at error level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.
-
error
void error(java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at error level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.
-
error
void error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at error level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.
-
error
void error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at error level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.
-
error
void error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at error level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.
-
error
void error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at error level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.
-
error
void error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at error level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.
-
error
void error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at error level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.
-
error
void error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at error level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.
-
error
void error(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at error level.- 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 void exit()
Deprecated.UsetraceExit()instead which performs the same function.Logs exit from a method. Used for methods that do not return anything.
-
exit
@Deprecated <R> R exit(R result)
Deprecated.UsetraceExit(Object)instead which performs the same function.Logs exiting from a method with the result. This may be coded as:return LOGGER.exit(myResult);
- Type Parameters:
R- The type of the parameter and object being returned.- Parameters:
result- The result being returned from the method call.- Returns:
- the result.
-
fatal
void fatal(Marker marker, Message msg)
Logs a message with the specific Marker at theFATALlevel.- Parameters:
marker- the marker data specific to this log statementmsg- the message string to be logged
-
fatal
void fatal(Marker marker, Message msg, java.lang.Throwable t)
Logs a message with the specific Marker at theFATALlevel.- Parameters:
marker- the marker data specific to this log statementmsg- the message string to be loggedt- A Throwable or null.
-
fatal
void fatal(Marker marker, MessageSupplier msgSupplier)
Logs 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.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message.- Since:
- 2.4
-
fatal
void fatal(Marker marker, MessageSupplier msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theFATALlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message.t- A Throwable or null.- Since:
- 2.4
-
fatal
void fatal(Marker marker, java.lang.CharSequence message)
Logs a message CharSequence with theFATALlevel.- Parameters:
marker- The marker data specific to this log statement.message- the message CharSequence to log.
-
fatal
void fatal(Marker marker, java.lang.CharSequence message, java.lang.Throwable t)
Logs a CharSequence at theFATALlevel including the stack trace of theThrowabletpassed as parameter.- Parameters:
marker- The marker data specific to this log statement.message- the message CharSequence to log.t- the exception to log, including its stack trace.
-
fatal
void fatal(Marker marker, java.lang.Object message)
Logs a message object with theFATALlevel.- Parameters:
marker- The marker data specific to this log statement.message- the message object to log.
-
fatal
void fatal(Marker marker, java.lang.Object message, java.lang.Throwable t)
- Parameters:
marker- The marker data specific to this log statement.message- the message object to log.t- the exception to log, including its stack trace.
-
fatal
void fatal(Marker marker, java.lang.String message)
Logs a message object with theFATALlevel.- Parameters:
marker- The marker data specific to this log statement.message- the message object to log.
-
fatal
void fatal(Marker marker, java.lang.String message, java.lang.Object... params)
Logs a message with parameters at theFATALlevel.- 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:
getMessageFactory()
-
fatal
void fatal(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is theFATALlevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.paramSuppliers- An array of functions, which when called, produce the desired log message parameters.- Since:
- 2.4
-
fatal
void fatal(Marker marker, java.lang.String message, java.lang.Throwable t)
- Parameters:
marker- The marker data specific to this log statement.message- the message object to log.t- the exception to log, including its stack trace.
-
fatal
void fatal(Marker marker, Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is theFATALlevel with the specified Marker.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.- Since:
- 2.4
-
fatal
void fatal(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theFATALlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.t- A Throwable or null.- Since:
- 2.4
-
fatal
void fatal(Message msg)
Logs a message with the specific Marker at theFATALlevel.- Parameters:
msg- the message string to be logged
-
fatal
void fatal(Message msg, java.lang.Throwable t)
Logs a message with the specific Marker at theFATALlevel.- Parameters:
msg- the message string to be loggedt- A Throwable or null.
-
fatal
void fatal(MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is theFATALlevel. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
msgSupplier- A function, which when called, produces the desired log message.- Since:
- 2.4
-
fatal
void fatal(MessageSupplier msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theFATALlevel) including the stack trace of theThrowabletpassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
msgSupplier- A function, which when called, produces the desired log message.t- the exception to log, including its stack trace.- Since:
- 2.4
-
fatal
void fatal(java.lang.CharSequence message)
Logs a message CharSequence with theFATALlevel.- Parameters:
message- the message CharSequence to log.
-
fatal
void fatal(java.lang.CharSequence message, java.lang.Throwable t)Logs a CharSequence at theFATALlevel including the stack trace of theThrowabletpassed as parameter.- Parameters:
message- the message CharSequence to log.t- the exception to log, including its stack trace.
-
fatal
void fatal(java.lang.Object message)
Logs a message object with theFATALlevel.- Parameters:
message- the message object to log.
-
fatal
void fatal(java.lang.Object message, java.lang.Throwable t)- Parameters:
message- the message object to log.t- the exception to log, including its stack trace.
-
fatal
void fatal(java.lang.String message)
Logs a message object with theFATALlevel.- Parameters:
message- the message string to log.
-
fatal
void fatal(java.lang.String message, java.lang.Object... params)Logs a message with parameters at theFATALlevel.- Parameters:
message- the message to log; the format depends on the message factory.params- parameters to the message.- See Also:
getMessageFactory()
-
fatal
void fatal(java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theFATALlevel.- Parameters:
message- the message to log; the format depends on the message factory.paramSuppliers- An array of functions, which when called, produce the desired log message parameters.- Since:
- 2.4
-
fatal
void fatal(java.lang.String message, java.lang.Throwable t)- Parameters:
message- the message object to log.t- the exception to log, including its stack trace.
-
fatal
void fatal(Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is theFATALlevel.- Parameters:
msgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.- Since:
- 2.4
-
fatal
void fatal(Supplier<?> msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theFATALlevel) including the stack trace of theThrowabletpassed as parameter.- Parameters:
msgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.t- the exception to log, including its stack trace.- Since:
- 2.4
-
fatal
void fatal(Marker marker, java.lang.String message, java.lang.Object p0)
Logs a message with parameters at fatal level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.
-
fatal
void fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at fatal level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.
-
fatal
void fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at fatal level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.
-
fatal
void fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at fatal level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.
-
fatal
void fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at fatal level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.
-
fatal
void fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at fatal level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.
-
fatal
void fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at fatal level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.
-
fatal
void fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at fatal level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.
-
fatal
void fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at fatal level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.
-
fatal
void fatal(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at fatal level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.p9- parameter to the message.
-
fatal
void fatal(java.lang.String message, java.lang.Object p0)Logs a message with parameters at fatal level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.
-
fatal
void fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at fatal level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.
-
fatal
void fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at fatal level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.
-
fatal
void fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at fatal level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.
-
fatal
void fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at fatal level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.
-
fatal
void fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at fatal level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.
-
fatal
void fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at fatal level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.
-
fatal
void fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at fatal level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.
-
fatal
void fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at fatal level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.
-
fatal
void fatal(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at fatal level.- 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.
-
getLevel
Level getLevel()
Gets the Level associated with the Logger.- Returns:
- the Level associate with the Logger.
-
getMessageFactory
<MF extends MessageFactory> MF getMessageFactory()
Gets the message factory used to convert message Objects and Strings/CharSequences into actual log Messages. Since version 2.6, Log4j internally uses message factories that implement 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.- Returns:
- the message factory, as an instance of
MessageFactory2
-
getName
java.lang.String getName()
Gets the logger name.- Returns:
- the logger name.
-
info
void info(Marker marker, Message msg)
Logs a message with the specific Marker at theINFOlevel.- Parameters:
marker- the marker data specific to this log statementmsg- the message string to be logged
-
info
void info(Marker marker, Message msg, java.lang.Throwable t)
Logs a message with the specific Marker at theINFOlevel.- Parameters:
marker- the marker data specific to this log statementmsg- the message string to be loggedt- A Throwable or null.
-
info
void info(Marker marker, MessageSupplier msgSupplier)
Logs 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.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message.- Since:
- 2.4
-
info
void info(Marker marker, MessageSupplier msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theINFOlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message.t- A Throwable or null.- Since:
- 2.4
-
info
void info(Marker marker, java.lang.CharSequence message)
Logs a message CharSequence with theINFOlevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message CharSequence to log.
-
info
void info(Marker marker, java.lang.CharSequence message, java.lang.Throwable t)
Logs a CharSequence at theINFOlevel including the stack trace of theThrowabletpassed as parameter.- Parameters:
marker- the marker data specific to this log statementmessage- the message CharSequence to log.t- the exception to log, including its stack trace.
-
info
void info(Marker marker, java.lang.Object message)
Logs a message object with theINFOlevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message object to log.
-
info
void info(Marker marker, java.lang.Object message, java.lang.Throwable t)
- Parameters:
marker- the marker data specific to this log statementmessage- the message object to log.t- the exception to log, including its stack trace.
-
info
void info(Marker marker, java.lang.String message)
Logs a message object with theINFOlevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message object to log.
-
info
void info(Marker marker, java.lang.String message, java.lang.Object... params)
Logs a message with parameters at theINFOlevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.params- parameters to the message.- See Also:
getMessageFactory()
-
info
void info(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is theINFOlevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.paramSuppliers- An array of functions, which when called, produce the desired log message parameters.- Since:
- 2.4
-
info
void info(Marker marker, java.lang.String message, java.lang.Throwable t)
- Parameters:
marker- the marker data specific to this log statementmessage- the message object to log.t- the exception to log, including its stack trace.
-
info
void info(Marker marker, Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is theINFOlevel with the specified Marker.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.- Since:
- 2.4
-
info
void info(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theINFOlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.t- A Throwable or null.- Since:
- 2.4
-
info
void info(Message msg)
Logs a message with the specific Marker at theINFOlevel.- Parameters:
msg- the message string to be logged
-
info
void info(Message msg, java.lang.Throwable t)
Logs a message with the specific Marker at theINFOlevel.- Parameters:
msg- the message string to be loggedt- A Throwable or null.
-
info
void info(MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is theINFOlevel. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
msgSupplier- A function, which when called, produces the desired log message.- Since:
- 2.4
-
info
void info(MessageSupplier msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theINFOlevel) including the stack trace of theThrowabletpassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
msgSupplier- A function, which when called, produces the desired log message.t- the exception to log, including its stack trace.- Since:
- 2.4
-
info
void info(java.lang.CharSequence message)
Logs a message CharSequence with theINFOlevel.- Parameters:
message- the message CharSequence to log.
-
info
void info(java.lang.CharSequence message, java.lang.Throwable t)Logs a CharSequence at theINFOlevel including the stack trace of theThrowabletpassed as parameter.- Parameters:
message- the message CharSequence to log.t- the exception to log, including its stack trace.
-
info
void info(java.lang.Object message)
Logs a message object with theINFOlevel.- Parameters:
message- the message object to log.
-
info
void info(java.lang.Object message, java.lang.Throwable t)- Parameters:
message- the message object to log.t- the exception to log, including its stack trace.
-
info
void info(java.lang.String message)
Logs a message object with theINFOlevel.- Parameters:
message- the message string to log.
-
info
void info(java.lang.String message, java.lang.Object... params)Logs a message with parameters at theINFOlevel.- Parameters:
message- the message to log; the format depends on the message factory.params- parameters to the message.- See Also:
getMessageFactory()
-
info
void info(java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theINFOlevel.- Parameters:
message- the message to log; the format depends on the message factory.paramSuppliers- An array of functions, which when called, produce the desired log message parameters.- Since:
- 2.4
-
info
void info(java.lang.String message, java.lang.Throwable t)- Parameters:
message- the message object to log.t- the exception to log, including its stack trace.
-
info
void info(Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is theINFOlevel.- Parameters:
msgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.- Since:
- 2.4
-
info
void info(Supplier<?> msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theINFOlevel) including the stack trace of theThrowabletpassed as parameter.- Parameters:
msgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.t- the exception to log, including its stack trace.- Since:
- 2.4
-
info
void info(Marker marker, java.lang.String message, java.lang.Object p0)
Logs a message with parameters at info level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.
-
info
void info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at info level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.
-
info
void info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at info level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.
-
info
void info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at info level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.
-
info
void info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at info level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.
-
info
void info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at info level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.
-
info
void info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at info level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.
-
info
void info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at info level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.
-
info
void info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at info level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.
-
info
void info(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at info level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.p9- parameter to the message.
-
info
void info(java.lang.String message, java.lang.Object p0)Logs a message with parameters at info level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.
-
info
void info(java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at info level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.
-
info
void info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at info level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.
-
info
void info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at info level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.
-
info
void info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at info level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.
-
info
void info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at info level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.
-
info
void info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at info level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.
-
info
void info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at info level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.
-
info
void info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at info level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.
-
info
void info(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at info level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.p9- parameter to the message.
-
isDebugEnabled
boolean isDebugEnabled()
Checks whether this Logger is enabled for theDEBUGLevel.- Returns:
- boolean -
trueif this Logger is enabled for level DEBUG,falseotherwise.
-
isDebugEnabled
boolean isDebugEnabled(Marker marker)
Checks whether this Logger is enabled for theDEBUGLevel.- Parameters:
marker- The Marker to check- Returns:
- boolean -
trueif this Logger is enabled for level DEBUG,falseotherwise.
-
isEnabled
boolean isEnabled(Level level)
Checks whether this Logger is enabled for the given Level.Note that passing in
OFFalways returnstrue.- Parameters:
level- the Level to check- Returns:
- boolean -
trueif this Logger is enabled for level,falseotherwise.
-
isEnabled
boolean isEnabled(Level level, Marker marker)
Checks whether this Logger is enabled for the given Level and Marker.- Parameters:
level- The Level to checkmarker- The Marker to check- Returns:
- boolean -
trueif this Logger is enabled for level and marker,falseotherwise.
-
isErrorEnabled
boolean isErrorEnabled()
Checks whether this Logger is enabled for theERRORLevel.- Returns:
- boolean -
trueif this Logger is enabled for levelERROR,falseotherwise.
-
isErrorEnabled
boolean isErrorEnabled(Marker marker)
Checks whether this Logger is enabled for theERRORLevel.- Parameters:
marker- The Marker to check- Returns:
- boolean -
trueif this Logger is enabled for levelERROR,falseotherwise.
-
isFatalEnabled
boolean isFatalEnabled()
Checks whether this Logger is enabled for theFATALLevel.- Returns:
- boolean -
trueif this Logger is enabled for levelFATAL,falseotherwise.
-
isFatalEnabled
boolean isFatalEnabled(Marker marker)
Checks whether this Logger is enabled for theFATALLevel.- Parameters:
marker- The Marker to check- Returns:
- boolean -
trueif this Logger is enabled for levelFATAL,falseotherwise.
-
isInfoEnabled
boolean isInfoEnabled()
Checks whether this Logger is enabled for theINFOLevel.- Returns:
- boolean -
trueif this Logger is enabled for level INFO,falseotherwise.
-
isInfoEnabled
boolean isInfoEnabled(Marker marker)
Checks whether this Logger is enabled for theINFOLevel.- Parameters:
marker- The Marker to check- Returns:
- boolean -
trueif this Logger is enabled for level INFO,falseotherwise.
-
isTraceEnabled
boolean isTraceEnabled()
Checks whether this Logger is enabled for theTRACElevel.- Returns:
- boolean -
trueif this Logger is enabled for level TRACE,falseotherwise.
-
isTraceEnabled
boolean isTraceEnabled(Marker marker)
Checks whether this Logger is enabled for theTRACElevel.- Parameters:
marker- The Marker to check- Returns:
- boolean -
trueif this Logger is enabled for level TRACE,falseotherwise.
-
isWarnEnabled
boolean isWarnEnabled()
Checks whether this Logger is enabled for theWARNLevel.- Returns:
- boolean -
trueif this Logger is enabled for levelWARN,falseotherwise.
-
isWarnEnabled
boolean isWarnEnabled(Marker marker)
Checks whether this Logger is enabled for theWARNLevel.- Parameters:
marker- The Marker to check- Returns:
- boolean -
trueif this Logger is enabled for levelWARN,falseotherwise.
-
log
void log(Level level, Marker marker, Message msg)
Logs a message with the specific Marker at the given level.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmsg- the message string to be logged
-
log
void log(Level level, Marker marker, Message msg, java.lang.Throwable t)
Logs a message with the specific Marker at the given level.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmsg- the message string to be loggedt- A Throwable or null.
-
log
void log(Level level, Marker marker, MessageSupplier msgSupplier)
Logs 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.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message.- Since:
- 2.4
-
log
void log(Level level, Marker marker, MessageSupplier msgSupplier, java.lang.Throwable t)
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 theThrowabletpassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message.t- A Throwable or null.- Since:
- 2.4
-
log
void log(Level level, Marker marker, java.lang.CharSequence message)
Logs a message CharSequence with the given level.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmessage- the message CharSequence to log.
-
log
void log(Level level, Marker marker, java.lang.CharSequence message, java.lang.Throwable t)
Logs a CharSequence at the given level including the stack trace of theThrowabletpassed as parameter.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmessage- the message CharSequence to log.t- the exception to log, including its stack trace.
-
log
void log(Level level, Marker marker, java.lang.Object message)
Logs a message object with the given level.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmessage- the message object to log.
-
log
void log(Level level, Marker marker, java.lang.Object message, java.lang.Throwable t)
Logs a message at the given level including the stack trace of theThrowabletpassed as parameter.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmessage- the message to log.t- the exception to log, including its stack trace.
-
log
void log(Level level, Marker marker, java.lang.String message)
Logs a message object with the given level.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmessage- the message object to log.
-
log
void log(Level level, Marker marker, java.lang.String message, java.lang.Object... params)
Logs a message with parameters at the given level.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.params- parameters to the message.- See Also:
getMessageFactory()
-
log
void log(Level level, Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is the specified level.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.paramSuppliers- An array of functions, which when called, produce the desired log message parameters.- Since:
- 2.4
-
log
void log(Level level, Marker marker, java.lang.String message, java.lang.Throwable t)
Logs a message at the given level including the stack trace of theThrowabletpassed as parameter.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmessage- the message to log.t- the exception to log, including its stack trace.
-
log
void log(Level level, Marker marker, Supplier<?> msgSupplier)
Logs a message (only to be constructed if the logging level is the specified level) with the specified Marker.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.- Since:
- 2.4
-
log
void log(Level level, Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)
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 theThrowabletpassed as parameter.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.t- A Throwable or null.- Since:
- 2.4
-
log
void log(Level level, Message msg)
Logs a message with the specific Marker at the given level.- Parameters:
level- the logging levelmsg- the message string to be logged
-
log
void log(Level level, Message msg, java.lang.Throwable t)
Logs a message with the specific Marker at the given level.- Parameters:
level- the logging levelmsg- the message string to be loggedt- A Throwable or null.
-
log
void log(Level level, MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the specified level. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
level- the logging levelmsgSupplier- A function, which when called, produces the desired log message.- Since:
- 2.4
-
log
void log(Level level, MessageSupplier msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is the specified level) including the stack log of theThrowabletpassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
level- the logging levelmsgSupplier- A function, which when called, produces the desired log message.t- the exception to log, including its stack log.- Since:
- 2.4
-
log
void log(Level level, java.lang.CharSequence message)
Logs a message CharSequence with the given level.- Parameters:
level- the logging levelmessage- the message CharSequence to log.
-
log
void log(Level level, java.lang.CharSequence message, java.lang.Throwable t)
Logs a CharSequence at the given level including the stack trace of theThrowabletpassed as parameter.- Parameters:
level- the logging levelmessage- the message CharSequence to log.t- the exception to log, including its stack trace.
-
log
void log(Level level, java.lang.Object message)
Logs a message object with the given level.- Parameters:
level- the logging levelmessage- the message object to log.
-
log
void log(Level level, java.lang.Object message, java.lang.Throwable t)
Logs a message at the given level including the stack trace of theThrowabletpassed as parameter.- Parameters:
level- the logging levelmessage- the message to log.t- the exception to log, including its stack trace.
-
log
void log(Level level, java.lang.String message)
Logs a message object with the given level.- Parameters:
level- the logging levelmessage- the message string to log.
-
log
void log(Level level, java.lang.String message, java.lang.Object... params)
Logs a message with parameters at the given level.- Parameters:
level- the logging levelmessage- the message to log; the format depends on the message factory.params- parameters to the message.- See Also:
getMessageFactory()
-
log
void log(Level level, java.lang.String message, Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is the specified level.- Parameters:
level- the logging levelmessage- 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.- Since:
- 2.4
-
log
void log(Level level, java.lang.String message, java.lang.Throwable t)
Logs a message at the given level including the stack trace of theThrowabletpassed as parameter.- Parameters:
level- the logging levelmessage- the message to log.t- the exception to log, including its stack trace.
-
log
void log(Level level, Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is the specified level.- Parameters:
level- the logging levelmsgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.- Since:
- 2.4
-
log
void log(Level level, Supplier<?> msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is the specified level) including the stack log of theThrowabletpassed as parameter.- Parameters:
level- the logging levelmsgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.t- the exception to log, including its stack log.- Since:
- 2.4
-
log
void log(Level level, Marker marker, java.lang.String message, java.lang.Object p0)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.
-
log
void log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.
-
log
void log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.
-
log
void log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.
-
log
void log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.
-
log
void log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.
-
log
void log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.
-
log
void log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.
-
log
void log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.
-
log
void log(Level level, Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmarker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.p9- parameter to the message.
-
log
void log(Level level, java.lang.String message, java.lang.Object p0)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmessage- the message to log; the format depends on the message factory.p0- parameter to the message.
-
log
void log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.
-
log
void log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.
-
log
void log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.
-
log
void log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.
-
log
void log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.
-
log
void log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.
-
log
void log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.
-
log
void log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.
-
log
void log(Level level, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at the specified level.- Parameters:
level- the logging levelmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.p9- parameter to the message.
-
printf
void printf(Level level, Marker marker, java.lang.String format, java.lang.Object... params)
Logs a formatted message using the specified format string and arguments.- Parameters:
level- The logging Level.marker- the marker data specific to this log statement.format- The format String.params- Arguments specified by the format.
-
printf
void printf(Level level, java.lang.String format, java.lang.Object... params)
Logs a formatted message using the specified format string and arguments.- Parameters:
level- The logging Level.format- The format String.params- Arguments specified by the format.
-
throwing
<T extends java.lang.Throwable> T throwing(Level level, T t)
Logs an exception or error to be thrown. This may be coded as:throw logger.throwing(Level.DEBUG, myException);
- Type Parameters:
T- the Throwable type.- Parameters:
level- The logging Level.t- The Throwable.- Returns:
- the Throwable.
-
throwing
<T extends java.lang.Throwable> T throwing(T t)
Logs an exception or error to be thrown. This may be coded as:throw logger.throwing(myException);
- Type Parameters:
T- the Throwable type.- Parameters:
t- The Throwable.- Returns:
- the Throwable.
-
trace
void trace(Marker marker, Message msg)
Logs a message with the specific Marker at theTRACElevel.- Parameters:
marker- the marker data specific to this log statementmsg- the message string to be logged
-
trace
void trace(Marker marker, Message msg, java.lang.Throwable t)
Logs a message with the specific Marker at theTRACElevel.- Parameters:
marker- the marker data specific to this log statementmsg- the message string to be loggedt- A Throwable or null.
-
trace
void trace(Marker marker, MessageSupplier msgSupplier)
Logs 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.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message.- Since:
- 2.4
-
trace
void trace(Marker marker, MessageSupplier msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theTRACElevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message.t- A Throwable or null.- Since:
- 2.4
-
trace
void trace(Marker marker, java.lang.CharSequence message)
Logs a message CharSequence with theTRACElevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message CharSequence to log.
-
trace
void trace(Marker marker, java.lang.CharSequence message, java.lang.Throwable t)
Logs a CharSequence at theTRACElevel including the stack trace of theThrowabletpassed as parameter.- Parameters:
marker- the marker data specific to this log statementmessage- the message CharSequence to log.t- the exception to log, including its stack trace.- See Also:
debug(String)
-
trace
void trace(Marker marker, java.lang.Object message)
Logs a message object with theTRACElevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message object to log.
-
trace
void trace(Marker marker, java.lang.Object message, java.lang.Throwable t)
- Parameters:
marker- the marker data specific to this log statementmessage- the message object to log.t- the exception to log, including its stack trace.- See Also:
debug(String)
-
trace
void trace(Marker marker, java.lang.String message)
Logs a message object with theTRACElevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message string to log.
-
trace
void trace(Marker marker, java.lang.String message, java.lang.Object... params)
Logs a message with parameters at theTRACElevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.params- parameters to the message.- See Also:
getMessageFactory()
-
trace
void trace(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is theTRACElevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.paramSuppliers- An array of functions, which when called, produce the desired log message parameters.- Since:
- 2.4
-
trace
void trace(Marker marker, java.lang.String message, java.lang.Throwable t)
- Parameters:
marker- the marker data specific to this log statementmessage- the message object to log.t- the exception to log, including its stack trace.- See Also:
debug(String)
-
trace
void trace(Marker marker, Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is theTRACElevel with the specified Marker.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.- Since:
- 2.4
-
trace
void trace(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theTRACElevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.t- A Throwable or null.- Since:
- 2.4
-
trace
void trace(Message msg)
Logs a message with the specific Marker at theTRACElevel.- Parameters:
msg- the message string to be logged
-
trace
void trace(Message msg, java.lang.Throwable t)
Logs a message with the specific Marker at theTRACElevel.- Parameters:
msg- the message string to be loggedt- A Throwable or null.
-
trace
void trace(MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is theTRACElevel. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
msgSupplier- A function, which when called, produces the desired log message.- Since:
- 2.4
-
trace
void trace(MessageSupplier msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theTRACElevel) including the stack trace of theThrowabletpassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
msgSupplier- A function, which when called, produces the desired log message.t- the exception to log, including its stack trace.- Since:
- 2.4
-
trace
void trace(java.lang.CharSequence message)
Logs a message CharSequence with theTRACElevel.- Parameters:
message- the message CharSequence to log.
-
trace
void trace(java.lang.CharSequence message, java.lang.Throwable t)Logs a CharSequence at theTRACElevel including the stack trace of theThrowabletpassed as parameter.- Parameters:
message- the message CharSequence to log.t- the exception to log, including its stack trace.- See Also:
debug(String)
-
trace
void trace(java.lang.Object message)
Logs a message object with theTRACElevel.- Parameters:
message- the message object to log.
-
trace
void trace(java.lang.Object message, java.lang.Throwable t)- Parameters:
message- the message object to log.t- the exception to log, including its stack trace.- See Also:
debug(String)
-
trace
void trace(java.lang.String message)
Logs a message object with theTRACElevel.- Parameters:
message- the message string to log.
-
trace
void trace(java.lang.String message, java.lang.Object... params)Logs a message with parameters at theTRACElevel.- Parameters:
message- the message to log; the format depends on the message factory.params- parameters to the message.- See Also:
getMessageFactory()
-
trace
void trace(java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theTRACElevel.- Parameters:
message- the message to log; the format depends on the message factory.paramSuppliers- An array of functions, which when called, produce the desired log message parameters.- Since:
- 2.4
-
trace
void trace(java.lang.String message, java.lang.Throwable t)- Parameters:
message- the message object to log.t- the exception to log, including its stack trace.- See Also:
debug(String)
-
trace
void trace(Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is theTRACElevel.- Parameters:
msgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.- Since:
- 2.4
-
trace
void trace(Supplier<?> msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theTRACElevel) including the stack trace of theThrowabletpassed as parameter.- Parameters:
msgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.t- the exception to log, including its stack trace.- Since:
- 2.4
-
trace
void trace(Marker marker, java.lang.String message, java.lang.Object p0)
Logs a message with parameters at trace level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.
-
trace
void trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at trace level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.
-
trace
void trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at trace level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.
-
trace
void trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at trace level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.
-
trace
void trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at trace level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.
-
trace
void trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at trace level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.
-
trace
void trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at trace level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.
-
trace
void trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at trace level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.
-
trace
void trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at trace level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.
-
trace
void trace(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at trace level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.p9- parameter to the message.
-
trace
void trace(java.lang.String message, java.lang.Object p0)Logs a message with parameters at trace level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.
-
trace
void trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at trace level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.
-
trace
void trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at trace level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.
-
trace
void trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at trace level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.
-
trace
void trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at trace level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.
-
trace
void trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at trace level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.
-
trace
void trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at trace level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.
-
trace
void trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at trace level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.
-
trace
void trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at trace level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.
-
trace
void trace(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at trace level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.p9- parameter to the message.
-
traceEntry
EntryMessage traceEntry()
Logs entry to a method. Used when the method in question has no parameters or when the parameters should not be logged.- Returns:
- built message
- Since:
- 2.6
-
traceEntry
EntryMessage traceEntry(java.lang.String format, java.lang.Object... params)
Logs entry to a method along with its parameters. For example,public void doSomething(String foo, int bar) { LOGGER.traceEntry("Parameters: {} and {}", foo, bar); // do something }or:public int doSomething(String foo, int bar) { Message m = LOGGER.traceEntry("doSomething(foo={}, bar={})", foo, bar); // do something return traceExit(m, value); }- Parameters:
format- The format String for the parameters.params- The parameters to the method.- Returns:
- The built Message
- Since:
- 2.6
-
traceEntry
EntryMessage traceEntry(Supplier<?>... paramSuppliers)
Logs entry to a method along with its parameters. For example,public void doSomething(Request foo) { LOGGER.traceEntry(()->gson.toJson(foo)); // do something }- Parameters:
paramSuppliers- The Suppliers for the parameters to the method.- Returns:
- built message
- Since:
- 2.6
-
traceEntry
EntryMessage traceEntry(java.lang.String format, Supplier<?>... paramSuppliers)
Logs entry to a method along with its parameters. For example,public void doSomething(String foo, int bar) { LOGGER.traceEntry("Parameters: {} and {}", ()->gson.toJson(foo), ()-> bar); // do something }- Parameters:
format- The format String for the parameters.paramSuppliers- The Suppliers for the parameters to the method.- Returns:
- built message
- Since:
- 2.6
-
traceEntry
EntryMessage traceEntry(Message message)
Logs entry to a method using a Message to describe the parameters.public void doSomething(Request foo) { LOGGER.traceEntry(new JsonMessage(foo)); // do something }Avoid passing a
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.- Parameters:
message- The message. Avoid specifying a ReusableMessage, use immutable messages instead.- Returns:
- the built message
- Since:
- 2.6
- See Also:
ReusableMessage
-
traceExit
void traceExit()
Logs exit from a method. Used for methods that do not return anything.- Since:
- 2.6
-
traceExit
<R> R traceExit(R result)
Logs exiting from a method with the result. This may be coded as:return LOGGER.traceExit(myResult);
- Type Parameters:
R- The type of the parameter and object being returned.- Parameters:
result- The result being returned from the method call.- Returns:
- the result.
- Since:
- 2.6
-
traceExit
<R> R traceExit(java.lang.String format, R result)Logs exiting from a method with the result. This may be coded as:return LOGGER.traceExit("Result: {}", myResult);- Type Parameters:
R- The type of the parameter and object being returned.- Parameters:
format- The format String for the result.result- The result being returned from the method call.- Returns:
- the result.
- Since:
- 2.6
-
traceExit
void traceExit(EntryMessage message)
Logs exiting from a method with no result. Allows custom formatting of the result. This may be coded as:public long doSomething(int a, int b) { EntryMessage m = traceEntry("doSomething(a={}, b={})", a, b); // ... return LOGGER.traceExit(m); }- Parameters:
message- The Message containing the formatted result.- Since:
- 2.6
-
traceExit
<R> R traceExit(EntryMessage message, R result)
Logs exiting from a method with the result. Allows custom formatting of the result. This may be coded as:public long doSomething(int a, int b) { EntryMessage m = traceEntry("doSomething(a={}, b={})", a, b); // ... return LOGGER.traceExit(m, myResult); }- Type Parameters:
R- The type of the parameter and object being returned.- Parameters:
message- The Message containing the formatted result.result- The result being returned from the method call.- Returns:
- the result.
- Since:
- 2.6
-
traceExit
<R> R traceExit(Message message, R result)
Logs exiting from a method with the result. Allows custom formatting of the result. This may be coded as:return LOGGER.traceExit(new JsonMessage(myResult), myResult);
- Type Parameters:
R- The type of the parameter and object being returned.- Parameters:
message- The Message containing the formatted result.result- The result being returned from the method call.- Returns:
- the result.
- Since:
- 2.6
-
warn
void warn(Marker marker, Message msg)
Logs a message with the specific Marker at theWARNlevel.- Parameters:
marker- the marker data specific to this log statementmsg- the message string to be logged
-
warn
void warn(Marker marker, Message msg, java.lang.Throwable t)
Logs a message with the specific Marker at theWARNlevel.- Parameters:
marker- the marker data specific to this log statementmsg- the message string to be loggedt- A Throwable or null.
-
warn
void warn(Marker marker, MessageSupplier msgSupplier)
Logs 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.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message.- Since:
- 2.4
-
warn
void warn(Marker marker, MessageSupplier msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theWARNlevel) with the specified Marker and including the stack warn of theThrowabletpassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message.t- A Throwable or null.- Since:
- 2.4
-
warn
void warn(Marker marker, java.lang.CharSequence message)
Logs a message CharSequence with theWARNlevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message CharSequence to log.
-
warn
void warn(Marker marker, java.lang.CharSequence message, java.lang.Throwable t)
Logs a CharSequence at theWARNlevel including the stack trace of theThrowabletpassed as parameter.- Parameters:
marker- the marker data specific to this log statementmessage- the message CharSequence to log.t- the exception to log, including its stack trace.
-
warn
void warn(Marker marker, java.lang.Object message)
Logs a message object with theWARNlevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message object to log.
-
warn
void warn(Marker marker, java.lang.Object message, java.lang.Throwable t)
- Parameters:
marker- the marker data specific to this log statementmessage- the message object to log.t- the exception to log, including its stack trace.
-
warn
void warn(Marker marker, java.lang.String message)
Logs a message object with theWARNlevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message object to log.
-
warn
void warn(Marker marker, java.lang.String message, java.lang.Object... params)
Logs a message with parameters at theWARNlevel.- 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:
getMessageFactory()
-
warn
void warn(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is theWARNlevel.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.paramSuppliers- An array of functions, which when called, produce the desired log message parameters.- Since:
- 2.4
-
warn
void warn(Marker marker, java.lang.String message, java.lang.Throwable t)
- Parameters:
marker- the marker data specific to this log statementmessage- the message object to log.t- the exception to log, including its stack trace.
-
warn
void warn(Marker marker, Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is theWARNlevel with the specified Marker.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.- Since:
- 2.4
-
warn
void warn(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theWARNlevel) with the specified Marker and including the stack warn of theThrowabletpassed as parameter.- Parameters:
marker- the marker data specific to this log statementmsgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.t- A Throwable or null.- Since:
- 2.4
-
warn
void warn(Message msg)
Logs a message with the specific Marker at theWARNlevel.- Parameters:
msg- the message string to be logged
-
warn
void warn(Message msg, java.lang.Throwable t)
Logs a message with the specific Marker at theWARNlevel.- Parameters:
msg- the message string to be loggedt- A Throwable or null.
-
warn
void warn(MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is theWARNlevel. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
msgSupplier- A function, which when called, produces the desired log message.- Since:
- 2.4
-
warn
void warn(MessageSupplier msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theWARNlevel) including the stack warn of theThrowabletpassed as parameter. TheMessageSuppliermay or may not use theMessageFactoryto construct theMessage.- Parameters:
msgSupplier- A function, which when called, produces the desired log message.t- the exception to log, including its stack warn.- Since:
- 2.4
-
warn
void warn(java.lang.CharSequence message)
Logs a message CharSequence with theWARNlevel.- Parameters:
message- the message CharSequence to log.
-
warn
void warn(java.lang.CharSequence message, java.lang.Throwable t)Logs a CharSequence at theWARNlevel including the stack trace of theThrowabletpassed as parameter.- Parameters:
message- the message CharSequence to log.t- the exception to log, including its stack trace.
-
warn
void warn(java.lang.Object message)
Logs a message object with theWARNlevel.- Parameters:
message- the message object to log.
-
warn
void warn(java.lang.Object message, java.lang.Throwable t)- Parameters:
message- the message object to log.t- the exception to log, including its stack trace.
-
warn
void warn(java.lang.String message)
Logs a message object with theWARNlevel.- Parameters:
message- the message string to log.
-
warn
void warn(java.lang.String message, java.lang.Object... params)Logs a message with parameters at theWARNlevel.- Parameters:
message- the message to log; the format depends on the message factory.params- parameters to the message.- See Also:
getMessageFactory()
-
warn
void warn(java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theWARNlevel.- Parameters:
message- the message to log; the format depends on the message factory.paramSuppliers- An array of functions, which when called, produce the desired log message parameters.- Since:
- 2.4
-
warn
void warn(java.lang.String message, java.lang.Throwable t)- Parameters:
message- the message object to log.t- the exception to log, including its stack trace.
-
warn
void warn(Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is theWARNlevel.- Parameters:
msgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.- Since:
- 2.4
-
warn
void warn(Supplier<?> msgSupplier, java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is theWARNlevel) including the stack warn of theThrowabletpassed as parameter.- Parameters:
msgSupplier- A function, which when called, produces the desired log message; the format depends on the message factory.t- the exception to log, including its stack warn.- Since:
- 2.4
-
warn
void warn(Marker marker, java.lang.String message, java.lang.Object p0)
Logs a message with parameters at warn level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.
-
warn
void warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1)
Logs a message with parameters at warn level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.
-
warn
void warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)
Logs a message with parameters at warn level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.
-
warn
void warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
Logs a message with parameters at warn level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.
-
warn
void warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)
Logs a message with parameters at warn level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.
-
warn
void warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)
Logs a message with parameters at warn level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.
-
warn
void warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)
Logs a message with parameters at warn level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.
-
warn
void warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)
Logs a message with parameters at warn level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.
-
warn
void warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)
Logs a message with parameters at warn level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.
-
warn
void warn(Marker marker, java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)
Logs a message with parameters at warn level.- Parameters:
marker- the marker data specific to this log statementmessage- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.p9- parameter to the message.
-
warn
void warn(java.lang.String message, java.lang.Object p0)Logs a message with parameters at warn level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.
-
warn
void warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1)Logs a message with parameters at warn level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.
-
warn
void warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2)Logs a message with parameters at warn level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.
-
warn
void warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)Logs a message with parameters at warn level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.
-
warn
void warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4)Logs a message with parameters at warn level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.
-
warn
void warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5)Logs a message with parameters at warn level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.
-
warn
void warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6)Logs a message with parameters at warn level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.
-
warn
void warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7)Logs a message with parameters at warn level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.
-
warn
void warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8)Logs a message with parameters at warn level.- Parameters:
message- the message to log; the format depends on the message factory.p0- parameter to the message.p1- parameter to the message.p2- parameter to the message.p3- parameter to the message.p4- parameter to the message.p5- parameter to the message.p6- parameter to the message.p7- parameter to the message.p8- parameter to the message.
-
warn
void warn(java.lang.String message, java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.lang.Object p4, java.lang.Object p5, java.lang.Object p6, java.lang.Object p7, java.lang.Object p8, java.lang.Object p9)Logs a message with parameters at warn level.- 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.
-
-