public abstract class AbstractLogger extends Object implements ExtendedLogger, Serializable
| Modifier and Type | Field and Description |
|---|---|
static Marker |
CATCHING_MARKER
Marker for catching exceptions.
|
static Class<? extends FlowMessageFactory> |
DEFAULT_FLOW_MESSAGE_FACTORY_CLASS
The default FlowMessageFactory class.
|
static Class<? extends MessageFactory> |
DEFAULT_MESSAGE_FACTORY_CLASS
The default MessageFactory class.
|
static Marker |
ENTRY_MARKER
Marker for method entry tracing.
|
static Marker |
EXCEPTION_MARKER
Marker for exception tracing.
|
static Marker |
EXIT_MARKER
Marker for method exit tracing.
|
static Marker |
FLOW_MARKER
Marker for flow tracing.
|
protected String |
name |
static Marker |
THROWING_MARKER
Marker for throwing exceptions.
|
| Constructor and Description |
|---|
AbstractLogger()
Creates a new logger named after this class (or subclass).
|
AbstractLogger(String name)
Creates a new named logger.
|
AbstractLogger(String name,
MessageFactory messageFactory)
Creates a new named logger with a particular
MessageFactory. |
| Modifier and Type | Method and Description |
|---|---|
void |
catching(Level level,
Throwable t)
Logs an exception or error that has been caught to a specific logging level.
|
protected void |
catching(String fqcn,
Level level,
Throwable t)
Logs a Throwable that has been caught with location information.
|
void |
catching(Throwable t)
Logs an exception or error that has been caught.
|
protected Message |
catchingMsg(Throwable t) |
static void |
checkMessageFactory(ExtendedLogger logger,
MessageFactory messageFactory)
Checks that the message factory a logger was created with is the same as the given messageFactory.
|
void |
debug(CharSequence message)
Logs a message CharSequence with the
DEBUG level. |
void |
debug(CharSequence message,
Throwable t)
|
void |
debug(Marker marker,
CharSequence message)
Logs a message CharSequence with the
DEBUG level. |
void |
debug(Marker marker,
CharSequence message,
Throwable t)
|
void |
debug(Marker marker,
Message msg)
Logs a message with the specific Marker at the
DEBUG level. |
void |
debug(Marker marker,
MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the
DEBUG level with
the specified Marker. |
void |
debug(Marker marker,
MessageSupplier msgSupplier,
Throwable t)
|
void |
debug(Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the
DEBUG level. |
void |
debug(Marker marker,
Object message)
Logs a message object with the
DEBUG level. |
void |
debug(Marker marker,
Object message,
Throwable t)
|
void |
debug(Marker marker,
String message)
Logs a message object with the
DEBUG level. |
void |
debug(Marker marker,
String message,
Object... params)
Logs a message with parameters at the
DEBUG level. |
void |
debug(Marker marker,
String message,
Object p0)
Logs a message with parameters at debug level.
|
void |
debug(Marker marker,
String message,
Object p0,
Object p1)
Logs a message with parameters at debug level.
|
void |
debug(Marker marker,
String message,
Object p0,
Object p1,
Object p2)
Logs a message with parameters at debug level.
|
void |
debug(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3)
Logs a message with parameters at debug level.
|
void |
debug(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4)
Logs a message with parameters at debug level.
|
void |
debug(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5)
Logs a message with parameters at debug level.
|
void |
debug(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6)
Logs a message with parameters at debug level.
|
void |
debug(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7)
Logs a message with parameters at debug level.
|
void |
debug(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8)
Logs a message with parameters at debug level.
|
void |
debug(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8,
Object p9)
Logs a message with parameters at debug level.
|
void |
debug(Marker marker,
String message,
Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is the
DEBUG level. |
void |
debug(Marker marker,
String message,
Throwable t)
|
void |
debug(Marker marker,
Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is the
DEBUG level with
the specified Marker. |
void |
debug(Marker marker,
Supplier<?> msgSupplier,
Throwable t)
|
void |
debug(Message msg)
Logs a message with the specific Marker at the
DEBUG level. |
void |
debug(MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the
DEBUG level. |
void |
debug(MessageSupplier msgSupplier,
Throwable t)
|
void |
debug(Message msg,
Throwable t)
Logs a message with the specific Marker at the
DEBUG level. |
void |
debug(Object message)
Logs a message object with the
DEBUG level. |
void |
debug(Object message,
Throwable t)
|
void |
debug(String message)
Logs a message object with the
DEBUG level. |
void |
debug(String message,
Object... params)
Logs a message with parameters at the
DEBUG level. |
void |
debug(String message,
Object p0)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object p0,
Object p1)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object p0,
Object p1,
Object p2)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object p0,
Object p1,
Object p2,
Object p3)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8,
Object p9)
Logs a message with parameters at debug level.
|
void |
debug(String message,
Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is the
DEBUG level. |
void |
debug(String message,
Throwable t)
|
void |
debug(Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is the
DEBUG level. |
void |
debug(Supplier<?> msgSupplier,
Throwable t)
|
protected EntryMessage |
enter(String fqcn,
Message message)
Logs entry to a method with location information.
|
protected EntryMessage |
enter(String fqcn,
MessageSupplier msgSupplier)
Deprecated.
|
protected EntryMessage |
enter(String fqcn,
String format,
MessageSupplier... paramSuppliers)
Deprecated.
|
protected EntryMessage |
enter(String fqcn,
String format,
Object... params)
Logs entry to a method with location information.
|
protected EntryMessage |
enter(String fqcn,
String format,
Supplier<?>... paramSuppliers)
Logs entry to a method with location information.
|
void |
entry()
Deprecated.
|
void |
entry(Object... params)
Logs entry to a method along with its parameters (consider using one of the
traceEntry(...) methods instead.) |
protected void |
entry(String fqcn,
Object... params)
Logs entry to a method with location information.
|
protected EntryMessage |
entryMsg(String format,
MessageSupplier... paramSuppliers) |
protected EntryMessage |
entryMsg(String format,
Object... params) |
protected EntryMessage |
entryMsg(String format,
Supplier<?>... paramSuppliers) |
void |
error(CharSequence message)
Logs a message CharSequence with the
ERROR level. |
void |
error(CharSequence message,
Throwable t)
|
void |
error(Marker marker,
CharSequence message)
Logs a message CharSequence with the
ERROR level. |
void |
error(Marker marker,
CharSequence message,
Throwable t)
|
void |
error(Marker marker,
Message msg)
Logs a message with the specific Marker at the
ERROR level. |
void |
error(Marker marker,
MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the
ERROR level with
the specified Marker. |
void |
error(Marker marker,
MessageSupplier msgSupplier,
Throwable t)
|
void |
error(Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the
ERROR level. |
void |
error(Marker marker,
Object message)
Logs a message object with the
ERROR level. |
void |
error(Marker marker,
Object message,
Throwable t)
|
void |
error(Marker marker,
String message)
Logs a message object with the
ERROR level. |
void |
error(Marker marker,
String message,
Object... params)
Logs a message with parameters at the
ERROR level. |
void |
error(Marker marker,
String message,
Object p0)
Logs a message with parameters at error level.
|
void |
error(Marker marker,
String message,
Object p0,
Object p1)
Logs a message with parameters at error level.
|
void |
error(Marker marker,
String message,
Object p0,
Object p1,
Object p2)
Logs a message with parameters at error level.
|
void |
error(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3)
Logs a message with parameters at error level.
|
void |
error(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4)
Logs a message with parameters at error level.
|
void |
error(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5)
Logs a message with parameters at error level.
|
void |
error(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6)
Logs a message with parameters at error level.
|
void |
error(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7)
Logs a message with parameters at error level.
|
void |
error(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8)
Logs a message with parameters at error level.
|
void |
error(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8,
Object p9)
Logs a message with parameters at error level.
|
void |
error(Marker marker,
String message,
Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is the
ERROR level. |
void |
error(Marker marker,
String message,
Throwable t)
|
void |
error(Marker marker,
Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is the
ERROR level with
the specified Marker. |
void |
error(Marker marker,
Supplier<?> msgSupplier,
Throwable t)
|
void |
error(Message msg)
Logs a message with the specific Marker at the
ERROR level. |
void |
error(MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the
ERROR level. |
void |
error(MessageSupplier msgSupplier,
Throwable t)
|
void |
error(Message msg,
Throwable t)
Logs a message with the specific Marker at the
ERROR level. |
void |
error(Object message)
Logs a message object with the
ERROR level. |
void |
error(Object message,
Throwable t)
|
void |
error(String message)
Logs a message object with the
ERROR level. |
void |
error(String message,
Object... params)
Logs a message with parameters at the
ERROR level. |
void |
error(String message,
Object p0)
Logs a message with parameters at error level.
|
void |
error(String message,
Object p0,
Object p1)
Logs a message with parameters at error level.
|
void |
error(String message,
Object p0,
Object p1,
Object p2)
Logs a message with parameters at error level.
|
void |
error(String message,
Object p0,
Object p1,
Object p2,
Object p3)
Logs a message with parameters at error level.
|
void |
error(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4)
Logs a message with parameters at error level.
|
void |
error(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5)
Logs a message with parameters at error level.
|
void |
error(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6)
Logs a message with parameters at error level.
|
void |
error(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7)
Logs a message with parameters at error level.
|
void |
error(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8)
Logs a message with parameters at error level.
|
void |
error(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8,
Object p9)
Logs a message with parameters at error level.
|
void |
error(String message,
Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is the
ERROR level. |
void |
error(String message,
Throwable t)
|
void |
error(Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is the
ERROR level. |
void |
error(Supplier<?> msgSupplier,
Throwable t)
|
void |
exit()
Deprecated.
|
<R> R |
exit(R result)
Deprecated.
|
protected <R> R |
exit(String fqcn,
R result)
Logs exiting from a method with the result and location information.
|
protected <R> R |
exit(String fqcn,
String format,
R result)
Logs exiting from a method with the result and location information.
|
protected Message |
exitMsg(String format,
Object result) |
void |
fatal(CharSequence message)
Logs a message CharSequence with the
FATAL level. |
void |
fatal(CharSequence message,
Throwable t)
|
void |
fatal(Marker marker,
CharSequence message)
Logs a message CharSequence with the
FATAL level. |
void |
fatal(Marker marker,
CharSequence message,
Throwable t)
|
void |
fatal(Marker marker,
Message msg)
Logs a message with the specific Marker at the
FATAL level. |
void |
fatal(Marker marker,
MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the
FATAL level with
the specified Marker. |
void |
fatal(Marker marker,
MessageSupplier msgSupplier,
Throwable t)
|
void |
fatal(Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the
FATAL level. |
void |
fatal(Marker marker,
Object message)
Logs a message object with the
FATAL level. |
void |
fatal(Marker marker,
Object message,
Throwable t)
|
void |
fatal(Marker marker,
String message)
Logs a message object with the
FATAL level. |
void |
fatal(Marker marker,
String message,
Object... params)
Logs a message with parameters at the
FATAL level. |
void |
fatal(Marker marker,
String message,
Object p0)
Logs a message with parameters at fatal level.
|
void |
fatal(Marker marker,
String message,
Object p0,
Object p1)
Logs a message with parameters at fatal level.
|
void |
fatal(Marker marker,
String message,
Object p0,
Object p1,
Object p2)
Logs a message with parameters at fatal level.
|
void |
fatal(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3)
Logs a message with parameters at fatal level.
|
void |
fatal(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4)
Logs a message with parameters at fatal level.
|
void |
fatal(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5)
Logs a message with parameters at fatal level.
|
void |
fatal(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6)
Logs a message with parameters at fatal level.
|
void |
fatal(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7)
Logs a message with parameters at fatal level.
|
void |
fatal(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8)
Logs a message with parameters at fatal level.
|
void |
fatal(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8,
Object p9)
Logs a message with parameters at fatal level.
|
void |
fatal(Marker marker,
String message,
Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is the
FATAL level. |
void |
fatal(Marker marker,
String message,
Throwable t)
|
void |
fatal(Marker marker,
Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is the
FATAL level with
the specified Marker. |
void |
fatal(Marker marker,
Supplier<?> msgSupplier,
Throwable t)
|
void |
fatal(Message msg)
Logs a message with the specific Marker at the
FATAL level. |
void |
fatal(MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the
FATAL level. |
void |
fatal(MessageSupplier msgSupplier,
Throwable t)
|
void |
fatal(Message msg,
Throwable t)
Logs a message with the specific Marker at the
FATAL level. |
void |
fatal(Object message)
Logs a message object with the
FATAL level. |
void |
fatal(Object message,
Throwable t)
|
void |
fatal(String message)
Logs a message object with the
FATAL level. |
void |
fatal(String message,
Object... params)
Logs a message with parameters at the
FATAL level. |
void |
fatal(String message,
Object p0)
Logs a message with parameters at fatal level.
|
void |
fatal(String message,
Object p0,
Object p1)
Logs a message with parameters at fatal level.
|
void |
fatal(String message,
Object p0,
Object p1,
Object p2)
Logs a message with parameters at fatal level.
|
void |
fatal(String message,
Object p0,
Object p1,
Object p2,
Object p3)
Logs a message with parameters at fatal level.
|
void |
fatal(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4)
Logs a message with parameters at fatal level.
|
void |
fatal(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5)
Logs a message with parameters at fatal level.
|
void |
fatal(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6)
Logs a message with parameters at fatal level.
|
void |
fatal(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7)
Logs a message with parameters at fatal level.
|
void |
fatal(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8)
Logs a message with parameters at fatal level.
|
void |
fatal(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8,
Object p9)
Logs a message with parameters at fatal level.
|
void |
fatal(String message,
Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is the
FATAL level. |
void |
fatal(String message,
Throwable t)
|
void |
fatal(Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is the
FATAL level. |
void |
fatal(Supplier<?> msgSupplier,
Throwable t)
|
<MF extends MessageFactory> |
getMessageFactory()
Gets the message factory used to convert message Objects and Strings/CharSequences into actual log Messages.
|
String |
getName()
Gets the logger name.
|
static int |
getRecursionDepth()
Returns the depth of nested logging calls in the current Thread: zero if no logging call has been made,
one if a single logging call without nested logging calls has been made, or more depending on the level of
nesting.
|
void |
info(CharSequence message)
Logs a message CharSequence with the
INFO level. |
void |
info(CharSequence message,
Throwable t)
|
void |
info(Marker marker,
CharSequence message)
Logs a message CharSequence with the
INFO level. |
void |
info(Marker marker,
CharSequence message,
Throwable t)
|
void |
info(Marker marker,
Message msg)
Logs a message with the specific Marker at the
INFO level. |
void |
info(Marker marker,
MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the
INFO level with the
specified Marker. |
void |
info(Marker marker,
MessageSupplier msgSupplier,
Throwable t)
|
void |
info(Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the
INFO level. |
void |
info(Marker marker,
Object message)
Logs a message object with the
INFO level. |
void |
info(Marker marker,
Object message,
Throwable t)
|
void |
info(Marker marker,
String message)
Logs a message object with the
INFO level. |
void |
info(Marker marker,
String message,
Object... params)
Logs a message with parameters at the
INFO level. |
void |
info(Marker marker,
String message,
Object p0)
Logs a message with parameters at info level.
|
void |
info(Marker marker,
String message,
Object p0,
Object p1)
Logs a message with parameters at info level.
|
void |
info(Marker marker,
String message,
Object p0,
Object p1,
Object p2)
Logs a message with parameters at info level.
|
void |
info(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3)
Logs a message with parameters at info level.
|
void |
info(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4)
Logs a message with parameters at info level.
|
void |
info(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5)
Logs a message with parameters at info level.
|
void |
info(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6)
Logs a message with parameters at info level.
|
void |
info(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7)
Logs a message with parameters at info level.
|
void |
info(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8)
Logs a message with parameters at info level.
|
void |
info(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8,
Object p9)
Logs a message with parameters at info level.
|
void |
info(Marker marker,
String message,
Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is the
INFO level. |
void |
info(Marker marker,
String message,
Throwable t)
|
void |
info(Marker marker,
Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is the
INFO level with the
specified Marker. |
void |
info(Marker marker,
Supplier<?> msgSupplier,
Throwable t)
|
void |
info(Message msg)
Logs a message with the specific Marker at the
INFO level. |
void |
info(MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the
INFO level. |
void |
info(MessageSupplier msgSupplier,
Throwable t)
|
void |
info(Message msg,
Throwable t)
Logs a message with the specific Marker at the
INFO level. |
void |
info(Object message)
Logs a message object with the
INFO level. |
void |
info(Object message,
Throwable t)
|
void |
info(String message)
Logs a message object with the
INFO level. |
void |
info(String message,
Object... params)
Logs a message with parameters at the
INFO level. |
void |
info(String message,
Object p0)
Logs a message with parameters at info level.
|
void |
info(String message,
Object p0,
Object p1)
Logs a message with parameters at info level.
|
void |
info(String message,
Object p0,
Object p1,
Object p2)
Logs a message with parameters at info level.
|
void |
info(String message,
Object p0,
Object p1,
Object p2,
Object p3)
Logs a message with parameters at info level.
|
void |
info(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4)
Logs a message with parameters at info level.
|
void |
info(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5)
Logs a message with parameters at info level.
|
void |
info(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6)
Logs a message with parameters at info level.
|
void |
info(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7)
Logs a message with parameters at info level.
|
void |
info(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8)
Logs a message with parameters at info level.
|
void |
info(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8,
Object p9)
Logs a message with parameters at info level.
|
void |
info(String message,
Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is the
INFO level. |
void |
info(String message,
Throwable t)
|
void |
info(Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is the
INFO level. |
void |
info(Supplier<?> msgSupplier,
Throwable t)
|
boolean |
isDebugEnabled()
Checks whether this Logger is enabled for the
DEBUG Level. |
boolean |
isDebugEnabled(Marker marker)
Checks whether this Logger is enabled for the
DEBUG Level. |
boolean |
isEnabled(Level level)
Checks whether this Logger is enabled for the given Level.
|
boolean |
isEnabled(Level level,
Marker marker)
Checks whether this Logger is enabled for the given Level and Marker.
|
boolean |
isErrorEnabled()
Checks whether this Logger is enabled for the
ERROR Level. |
boolean |
isErrorEnabled(Marker marker)
Checks whether this Logger is enabled for the
ERROR Level. |
boolean |
isFatalEnabled()
Checks whether this Logger is enabled for the
FATAL Level. |
boolean |
isFatalEnabled(Marker marker)
Checks whether this Logger is enabled for the
FATAL Level. |
boolean |
isInfoEnabled()
Checks whether this Logger is enabled for the
INFO Level. |
boolean |
isInfoEnabled(Marker marker)
Checks whether this Logger is enabled for the
INFO Level. |
boolean |
isTraceEnabled()
Checks whether this Logger is enabled for the
TRACE level. |
boolean |
isTraceEnabled(Marker marker)
Checks whether this Logger is enabled for the
TRACE level. |
boolean |
isWarnEnabled()
Checks whether this Logger is enabled for the
WARN Level. |
boolean |
isWarnEnabled(Marker marker)
Checks whether this Logger is enabled for the
WARN Level. |
void |
log(Level level,
CharSequence message)
Logs a message CharSequence with the given level.
|
void |
log(Level level,
CharSequence message,
Throwable t)
Logs a CharSequence at the given level including the stack trace of the
Throwable t passed as
parameter. |
void |
log(Level level,
Marker marker,
CharSequence message)
Logs a message CharSequence with the given level.
|
void |
log(Level level,
Marker marker,
CharSequence message,
Throwable t)
Logs a CharSequence at the given level including the stack trace of the
Throwable t passed as
parameter. |
void |
log(Level level,
Marker marker,
Message msg)
Logs a message with the specific Marker at the given level.
|
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.
|
void |
log(Level level,
Marker marker,
MessageSupplier msgSupplier,
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 the
Throwable t passed as parameter. |
void |
log(Level level,
Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the given level.
|
void |
log(Level level,
Marker marker,
Object message)
Logs a message object with the given level.
|
void |
log(Level level,
Marker marker,
Object message,
Throwable t)
Logs a message at the given level including the stack trace of the
Throwable t passed as
parameter. |
void |
log(Level level,
Marker marker,
String message)
Logs a message object with the given level.
|
void |
log(Level level,
Marker marker,
String message,
Object... params)
Logs a message with parameters at the given level.
|
void |
log(Level level,
Marker marker,
String message,
Object p0)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
Marker marker,
String message,
Object p0,
Object p1)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8,
Object p9)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
Marker marker,
String message,
Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is the specified level.
|
void |
log(Level level,
Marker marker,
String message,
Throwable t)
Logs a message at the given level including the stack trace of the
Throwable t passed as
parameter. |
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.
|
void |
log(Level level,
Marker marker,
Supplier<?> msgSupplier,
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 the
Throwable t passed as parameter. |
void |
log(Level level,
Message msg)
Logs a message with the specific Marker at the given level.
|
void |
log(Level level,
MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the specified level.
|
void |
log(Level level,
MessageSupplier msgSupplier,
Throwable t)
Logs a message (only to be constructed if the logging level is the specified level) including the stack log of
the
Throwable t passed as parameter. |
void |
log(Level level,
Message msg,
Throwable t)
Logs a message with the specific Marker at the given level.
|
void |
log(Level level,
Object message)
Logs a message object with the given level.
|
void |
log(Level level,
Object message,
Throwable t)
Logs a message at the given level including the stack trace of the
Throwable t passed as
parameter. |
void |
log(Level level,
String message)
Logs a message object with the given level.
|
void |
log(Level level,
String message,
Object... params)
Logs a message with parameters at the given level.
|
void |
log(Level level,
String message,
Object p0)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
String message,
Object p0,
Object p1)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
String message,
Object p0,
Object p1,
Object p2)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
String message,
Object p0,
Object p1,
Object p2,
Object p3)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8,
Object p9)
Logs a message with parameters at the specified level.
|
void |
log(Level level,
String message,
Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is the specified level.
|
void |
log(Level level,
String message,
Throwable t)
Logs a message at the given level including the stack trace of the
Throwable t passed as
parameter. |
void |
log(Level level,
Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is the specified level.
|
void |
log(Level level,
Supplier<?> msgSupplier,
Throwable t)
Logs a message (only to be constructed if the logging level is the specified level) including the stack log of
the
Throwable t passed as parameter. |
void |
logIfEnabled(String fqcn,
Level level,
Marker marker,
CharSequence message,
Throwable t)
Logs a CharSequence message if the specified level is active.
|
void |
logIfEnabled(String fqcn,
Level level,
Marker marker,
MessageSupplier msgSupplier,
Throwable t)
Logs a message which is only to be constructed if the specified level is active.
|
void |
logIfEnabled(String fqcn,
Level level,
Marker marker,
Message msg,
Throwable t)
Logs a message if the specified level is active.
|
void |
logIfEnabled(String fqcn,
Level level,
Marker marker,
Object message,
Throwable t)
Logs a message if the specified level is active.
|
void |
logIfEnabled(String fqcn,
Level level,
Marker marker,
String message)
Logs a message if the specified level is active.
|
void |
logIfEnabled(String fqcn,
Level level,
Marker marker,
String message,
Object... params)
Logs a message if the specified level is active.
|
void |
logIfEnabled(String fqcn,
Level level,
Marker marker,
String message,
Object p0)
Logs a message if the specified level is active.
|
void |
logIfEnabled(String fqcn,
Level level,
Marker marker,
String message,
Object p0,
Object p1)
Logs a message if the specified level is active.
|
void |
logIfEnabled(String fqcn,
Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2)
Logs a message if the specified level is active.
|
void |
logIfEnabled(String fqcn,
Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3)
Logs a message if the specified level is active.
|
void |
logIfEnabled(String fqcn,
Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4)
Logs a message if the specified level is active.
|
void |
logIfEnabled(String fqcn,
Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5)
Logs a message if the specified level is active.
|
void |
logIfEnabled(String fqcn,
Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6)
Logs a message if the specified level is active.
|
void |
logIfEnabled(String fqcn,
Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7)
Logs a message if the specified level is active.
|
void |
logIfEnabled(String fqcn,
Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8)
Logs a message if the specified level is active.
|
void |
logIfEnabled(String fqcn,
Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8,
Object p9)
Logs a message if the specified level is active.
|
void |
logIfEnabled(String fqcn,
Level level,
Marker marker,
String message,
Supplier<?>... paramSuppliers)
Logs a message whose parameters are only to be constructed if the specified level is active.
|
void |
logIfEnabled(String fqcn,
Level level,
Marker marker,
String message,
Throwable t)
Logs a message if the specified level is active.
|
void |
logIfEnabled(String fqcn,
Level level,
Marker marker,
Supplier<?> msgSupplier,
Throwable t)
Logs a message which is only to be constructed if the specified level is active.
|
protected void |
logMessage(String fqcn,
Level level,
Marker marker,
CharSequence message,
Throwable t) |
protected void |
logMessage(String fqcn,
Level level,
Marker marker,
MessageSupplier msgSupplier,
Throwable t) |
protected void |
logMessage(String fqcn,
Level level,
Marker marker,
Object message,
Throwable t) |
protected void |
logMessage(String fqcn,
Level level,
Marker marker,
String message) |
protected void |
logMessage(String fqcn,
Level level,
Marker marker,
String message,
Object... params) |
protected void |
logMessage(String fqcn,
Level level,
Marker marker,
String message,
Object p0) |
protected void |
logMessage(String fqcn,
Level level,
Marker marker,
String message,
Object p0,
Object p1) |
protected void |
logMessage(String fqcn,
Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2) |
protected void |
logMessage(String fqcn,
Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3) |
protected void |
logMessage(String fqcn,
Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4) |
protected void |
logMessage(String fqcn,
Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5) |
protected void |
logMessage(String fqcn,
Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6) |
protected void |
logMessage(String fqcn,
Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7) |
protected void |
logMessage(String fqcn,
Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8) |
protected void |
logMessage(String fqcn,
Level level,
Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8,
Object p9) |
protected void |
logMessage(String fqcn,
Level level,
Marker marker,
String message,
Supplier<?>... paramSuppliers) |
protected void |
logMessage(String fqcn,
Level level,
Marker marker,
String message,
Throwable t) |
protected void |
logMessage(String fqcn,
Level level,
Marker marker,
Supplier<?> msgSupplier,
Throwable t) |
void |
printf(Level level,
Marker marker,
String format,
Object... params)
Logs a formatted message using the specified format string and arguments.
|
void |
printf(Level level,
String format,
Object... params)
Logs a formatted message using the specified format string and arguments.
|
<T extends Throwable> |
throwing(Level level,
T t)
Logs an exception or error to be thrown.
|
protected <T extends Throwable> |
throwing(String fqcn,
Level level,
T t)
Logs a Throwable to be thrown.
|
<T extends Throwable> |
throwing(T t)
Logs an exception or error to be thrown.
|
protected Message |
throwingMsg(Throwable t) |
void |
trace(CharSequence message)
Logs a message CharSequence with the
TRACE level. |
void |
trace(CharSequence message,
Throwable t)
|
void |
trace(Marker marker,
CharSequence message)
Logs a message CharSequence with the
TRACE level. |
void |
trace(Marker marker,
CharSequence message,
Throwable t)
|
void |
trace(Marker marker,
Message msg)
Logs a message with the specific Marker at the
TRACE level. |
void |
trace(Marker marker,
MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the
TRACE level with
the specified Marker. |
void |
trace(Marker marker,
MessageSupplier msgSupplier,
Throwable t)
|
void |
trace(Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the
TRACE level. |
void |
trace(Marker marker,
Object message)
Logs a message object with the
TRACE level. |
void |
trace(Marker marker,
Object message,
Throwable t)
|
void |
trace(Marker marker,
String message)
Logs a message object with the
TRACE level. |
void |
trace(Marker marker,
String message,
Object... params)
Logs a message with parameters at the
TRACE level. |
void |
trace(Marker marker,
String message,
Object p0)
Logs a message with parameters at trace level.
|
void |
trace(Marker marker,
String message,
Object p0,
Object p1)
Logs a message with parameters at trace level.
|
void |
trace(Marker marker,
String message,
Object p0,
Object p1,
Object p2)
Logs a message with parameters at trace level.
|
void |
trace(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3)
Logs a message with parameters at trace level.
|
void |
trace(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4)
Logs a message with parameters at trace level.
|
void |
trace(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5)
Logs a message with parameters at trace level.
|
void |
trace(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6)
Logs a message with parameters at trace level.
|
void |
trace(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7)
Logs a message with parameters at trace level.
|
void |
trace(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8)
Logs a message with parameters at trace level.
|
void |
trace(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8,
Object p9)
Logs a message with parameters at trace level.
|
void |
trace(Marker marker,
String message,
Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is the
TRACE level. |
void |
trace(Marker marker,
String message,
Throwable t)
|
void |
trace(Marker marker,
Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is the
TRACE level with
the specified Marker. |
void |
trace(Marker marker,
Supplier<?> msgSupplier,
Throwable t)
|
void |
trace(Message msg)
Logs a message with the specific Marker at the
TRACE level. |
void |
trace(MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the
TRACE level. |
void |
trace(MessageSupplier msgSupplier,
Throwable t)
|
void |
trace(Message msg,
Throwable t)
Logs a message with the specific Marker at the
TRACE level. |
void |
trace(Object message)
Logs a message object with the
TRACE level. |
void |
trace(Object message,
Throwable t)
|
void |
trace(String message)
Logs a message object with the
TRACE level. |
void |
trace(String message,
Object... params)
Logs a message with parameters at the
TRACE level. |
void |
trace(String message,
Object p0)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Object p0,
Object p1)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Object p0,
Object p1,
Object p2)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Object p0,
Object p1,
Object p2,
Object p3)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8,
Object p9)
Logs a message with parameters at trace level.
|
void |
trace(String message,
Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is the
TRACE level. |
void |
trace(String message,
Throwable t)
|
void |
trace(Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is the
TRACE level. |
void |
trace(Supplier<?> msgSupplier,
Throwable t)
|
EntryMessage |
traceEntry()
Logs entry to a method.
|
EntryMessage |
traceEntry(Message message)
Logs entry to a method using a Message to describe the parameters.
|
EntryMessage |
traceEntry(String format,
Object... params)
Logs entry to a method along with its parameters.
|
EntryMessage |
traceEntry(String format,
Supplier<?>... paramSuppliers)
Logs entry to a method along with its parameters.
|
EntryMessage |
traceEntry(Supplier<?>... paramSuppliers)
Logs entry to a method along with its parameters.
|
void |
traceExit()
Logs exit from a method.
|
void |
traceExit(EntryMessage message)
Logs exiting from a method with no result.
|
<R> R |
traceExit(EntryMessage message,
R result)
Logs exiting from a method with the result.
|
<R> R |
traceExit(Message message,
R result)
Logs exiting from a method with the result.
|
<R> R |
traceExit(R result)
Logs exiting from a method with the result.
|
<R> R |
traceExit(String format,
R result)
Logs exiting from a method with the result.
|
void |
warn(CharSequence message)
Logs a message CharSequence with the
WARN level. |
void |
warn(CharSequence message,
Throwable t)
|
void |
warn(Marker marker,
CharSequence message)
Logs a message CharSequence with the
WARN level. |
void |
warn(Marker marker,
CharSequence message,
Throwable t)
|
void |
warn(Marker marker,
Message msg)
Logs a message with the specific Marker at the
WARN level. |
void |
warn(Marker marker,
MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the
WARN level with the
specified Marker. |
void |
warn(Marker marker,
MessageSupplier msgSupplier,
Throwable t)
|
void |
warn(Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the
WARN level. |
void |
warn(Marker marker,
Object message)
Logs a message object with the
WARN level. |
void |
warn(Marker marker,
Object message,
Throwable t)
|
void |
warn(Marker marker,
String message)
Logs a message object with the
WARN level. |
void |
warn(Marker marker,
String message,
Object... params)
Logs a message with parameters at the
WARN level. |
void |
warn(Marker marker,
String message,
Object p0)
Logs a message with parameters at warn level.
|
void |
warn(Marker marker,
String message,
Object p0,
Object p1)
Logs a message with parameters at warn level.
|
void |
warn(Marker marker,
String message,
Object p0,
Object p1,
Object p2)
Logs a message with parameters at warn level.
|
void |
warn(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3)
Logs a message with parameters at warn level.
|
void |
warn(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4)
Logs a message with parameters at warn level.
|
void |
warn(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5)
Logs a message with parameters at warn level.
|
void |
warn(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6)
Logs a message with parameters at warn level.
|
void |
warn(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7)
Logs a message with parameters at warn level.
|
void |
warn(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8)
Logs a message with parameters at warn level.
|
void |
warn(Marker marker,
String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8,
Object p9)
Logs a message with parameters at warn level.
|
void |
warn(Marker marker,
String message,
Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is the
WARN level. |
void |
warn(Marker marker,
String message,
Throwable t)
|
void |
warn(Marker marker,
Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is the
WARN level with the
specified Marker. |
void |
warn(Marker marker,
Supplier<?> msgSupplier,
Throwable t)
|
void |
warn(Message msg)
Logs a message with the specific Marker at the
WARN level. |
void |
warn(MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the
WARN level. |
void |
warn(MessageSupplier msgSupplier,
Throwable t)
|
void |
warn(Message msg,
Throwable t)
Logs a message with the specific Marker at the
WARN level. |
void |
warn(Object message)
Logs a message object with the
WARN level. |
void |
warn(Object message,
Throwable t)
|
void |
warn(String message)
Logs a message object with the
WARN level. |
void |
warn(String message,
Object... params)
Logs a message with parameters at the
WARN level. |
void |
warn(String message,
Object p0)
Logs a message with parameters at warn level.
|
void |
warn(String message,
Object p0,
Object p1)
Logs a message with parameters at warn level.
|
void |
warn(String message,
Object p0,
Object p1,
Object p2)
Logs a message with parameters at warn level.
|
void |
warn(String message,
Object p0,
Object p1,
Object p2,
Object p3)
Logs a message with parameters at warn level.
|
void |
warn(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4)
Logs a message with parameters at warn level.
|
void |
warn(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5)
Logs a message with parameters at warn level.
|
void |
warn(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6)
Logs a message with parameters at warn level.
|
void |
warn(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7)
Logs a message with parameters at warn level.
|
void |
warn(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8)
Logs a message with parameters at warn level.
|
void |
warn(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8,
Object p9)
Logs a message with parameters at warn level.
|
void |
warn(String message,
Supplier<?>... paramSuppliers)
Logs a message with parameters which are only to be constructed if the logging level is the
WARN level. |
void |
warn(String message,
Throwable t)
|
void |
warn(Supplier<?> msgSupplier)
Logs a message which is only to be constructed if the logging level is the
WARN level. |
void |
warn(Supplier<?> msgSupplier,
Throwable t)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final Marker FLOW_MARKER
public static final Marker ENTRY_MARKER
public static final Marker EXIT_MARKER
public static final Marker EXCEPTION_MARKER
public static final Marker THROWING_MARKER
public static final Marker CATCHING_MARKER
public static final Class<? extends MessageFactory> DEFAULT_MESSAGE_FACTORY_CLASS
public static final Class<? extends FlowMessageFactory> DEFAULT_FLOW_MESSAGE_FACTORY_CLASS
protected final String name
public AbstractLogger()
public AbstractLogger(String name)
name - the logger namepublic AbstractLogger(String name, MessageFactory messageFactory)
MessageFactory.name - the logger namemessageFactory - the message factory, if null then use the default message factory.public static void checkMessageFactory(ExtendedLogger logger, MessageFactory messageFactory)
DEFAULT_MESSAGE_FACTORY_CLASS.logger - The logger to checkmessageFactory - The message factory to check.public void catching(Level level, Throwable t)
Loggerprotected void catching(String fqcn, Level level, Throwable t)
fqcn - The fully qualified class name of the caller.level - The logging level.t - The Throwable.public void catching(Throwable t)
Loggermain()
method), this method is ideal for it.public void debug(Marker marker, CharSequence message)
LoggerDEBUG level.public void debug(Marker marker, CharSequence message, Throwable t)
Loggerpublic void debug(Marker marker, Message msg)
LoggerDEBUG level.public void debug(Marker marker, Message msg, Throwable t)
LoggerDEBUG level.public void debug(Marker marker, Object message)
LoggerDEBUG level.public void debug(Marker marker, Object message, Throwable t)
Loggerpublic void debug(Marker marker, String message)
LoggerDEBUG level.public void debug(Marker marker, String message, Object... params)
LoggerDEBUG level.debug in interface Loggermarker - the marker data specific to this log statementmessage - the message to log; the format depends on the message factory.params - parameters to the message.Logger.getMessageFactory()public void debug(Marker marker, String message, Throwable t)
Loggerpublic void debug(Message msg)
LoggerDEBUG level.public void debug(Message msg, Throwable t)
LoggerDEBUG level.public void debug(CharSequence message)
LoggerDEBUG level.public void debug(CharSequence message, Throwable t)
Loggerpublic void debug(Object message)
LoggerDEBUG level.public void debug(String message)
LoggerDEBUG level.public void debug(String message, Object... params)
LoggerDEBUG level.debug in interface Loggermessage - the message to log; the format depends on the message factory.params - parameters to the message.Logger.getMessageFactory()public void debug(Supplier<?> msgSupplier)
LoggerDEBUG level.public void debug(Supplier<?> msgSupplier, Throwable t)
Loggerpublic void debug(Marker marker, Supplier<?> msgSupplier)
LoggerDEBUG level with
the specified Marker.public void debug(Marker marker, String message, Supplier<?>... paramSuppliers)
LoggerDEBUG level.public void debug(Marker marker, Supplier<?> msgSupplier, Throwable t)
Loggerpublic void debug(String message, Supplier<?>... paramSuppliers)
LoggerDEBUG level.public void debug(Marker marker, MessageSupplier msgSupplier)
LoggerDEBUG level with
the specified Marker. The MessageSupplier may or may not use the MessageFactory to construct the
Message.public void debug(Marker marker, MessageSupplier msgSupplier, Throwable t)
LoggerDEBUG level) with the
specified Marker and including the stack trace of the Throwable t passed as parameter. The
MessageSupplier may or may not use the MessageFactory to construct the Message.public void debug(MessageSupplier msgSupplier)
LoggerDEBUG level. The
MessageSupplier may or may not use the MessageFactory to construct the Message.public void debug(MessageSupplier msgSupplier, Throwable t)
LoggerDEBUG level) including the
stack trace of the Throwable t passed as parameter. The MessageSupplier may or may
not use the MessageFactory to construct the Message.public void debug(Marker marker, String message, Object p0)
Loggerpublic void debug(Marker marker, String message, Object p0, Object p1)
Loggerpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2)
Loggerpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3)
Loggerdebug in interface Loggermarker - 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.public void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
Loggerdebug in interface Loggermarker - 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.public void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
Loggerdebug in interface Loggermarker - 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.public void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
Loggerdebug in interface Loggermarker - 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.public void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
Loggerdebug in interface Loggermarker - 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.public void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
Loggerdebug in interface Loggermarker - 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.public void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
Loggerdebug in interface Loggermarker - 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.public void debug(String message, Object p0)
Loggerpublic void debug(String message, Object p0, Object p1)
Loggerpublic void debug(String message, Object p0, Object p1, Object p2)
Loggerpublic void debug(String message, Object p0, Object p1, Object p2, Object p3)
Loggerpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4)
Loggerpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
Loggerdebug in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - parameter to the message.p2 - parameter to the message.p3 - parameter to the message.p4 - parameter to the message.p5 - parameter to the message.public void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
Loggerdebug in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
Loggerdebug in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
Loggerdebug in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
Loggerdebug in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.protected EntryMessage enter(String fqcn, String format, Supplier<?>... paramSuppliers)
fqcn - The fully qualified class name of the caller.format - Format String for the parameters.paramSuppliers - The Suppliers of the parameters.@Deprecated protected EntryMessage enter(String fqcn, String format, MessageSupplier... paramSuppliers)
fqcn - The fully qualified class name of the caller.format - The format String for the parameters.paramSuppliers - The parameters to the method.protected EntryMessage enter(String fqcn, String format, Object... params)
fqcn - The fully qualified class name of the caller.format - The format String for the parameters.params - The parameters to the method.@Deprecated protected EntryMessage enter(String fqcn, MessageSupplier msgSupplier)
fqcn - The fully qualified class name of the caller.msgSupplier - The Supplier of the Message.protected EntryMessage enter(String fqcn, Message message)
fqcn - The fully qualified class name of the caller.message - the Message.@Deprecated public void entry()
Loggerpublic void entry(Object... params)
LoggertraceEntry(...) 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.
protected void entry(String fqcn, Object... params)
fqcn - The fully qualified class name of the caller.params - The parameters to the method.protected EntryMessage entryMsg(String format, Object... params)
protected EntryMessage entryMsg(String format, MessageSupplier... paramSuppliers)
protected EntryMessage entryMsg(String format, Supplier<?>... paramSuppliers)
public void error(Marker marker, Message msg)
LoggerERROR level.public void error(Marker marker, Message msg, Throwable t)
LoggerERROR level.public void error(Marker marker, CharSequence message)
LoggerERROR level.public void error(Marker marker, CharSequence message, Throwable t)
Loggerpublic void error(Marker marker, Object message)
LoggerERROR level.public void error(Marker marker, Object message, Throwable t)
Loggerpublic void error(Marker marker, String message)
LoggerERROR level.public void error(Marker marker, String message, Object... params)
LoggerERROR level.error in interface Loggermarker - 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.Logger.getMessageFactory()public void error(Marker marker, String message, Throwable t)
Loggerpublic void error(Message msg)
LoggerERROR level.public void error(Message msg, Throwable t)
LoggerERROR level.public void error(CharSequence message)
LoggerERROR level.public void error(CharSequence message, Throwable t)
Loggerpublic void error(Object message)
LoggerERROR level.public void error(String message)
LoggerERROR level.public void error(String message, Object... params)
LoggerERROR level.error in interface Loggermessage - the message to log; the format depends on the message factory.params - parameters to the message.Logger.getMessageFactory()public void error(Supplier<?> msgSupplier)
LoggerERROR level.public void error(Supplier<?> msgSupplier, Throwable t)
Loggerpublic void error(Marker marker, Supplier<?> msgSupplier)
LoggerERROR level with
the specified Marker.public void error(Marker marker, String message, Supplier<?>... paramSuppliers)
LoggerERROR level.public void error(Marker marker, Supplier<?> msgSupplier, Throwable t)
Loggerpublic void error(String message, Supplier<?>... paramSuppliers)
LoggerERROR level.public void error(Marker marker, MessageSupplier msgSupplier)
LoggerERROR level with
the specified Marker. The MessageSupplier may or may not use the MessageFactory to construct the
Message.public void error(Marker marker, MessageSupplier msgSupplier, Throwable t)
LoggerERROR level) with the
specified Marker and including the stack trace of the Throwable t passed as parameter. The
MessageSupplier may or may not use the MessageFactory to construct the Message.public void error(MessageSupplier msgSupplier)
LoggerERROR level. The
MessageSupplier may or may not use the MessageFactory to construct the Message.public void error(MessageSupplier msgSupplier, Throwable t)
LoggerERROR level) including the
stack trace of the Throwable t passed as parameter. The MessageSupplier may or may
not use the MessageFactory to construct the Message.public void error(Marker marker, String message, Object p0)
Loggerpublic void error(Marker marker, String message, Object p0, Object p1)
Loggerpublic void error(Marker marker, String message, Object p0, Object p1, Object p2)
Loggerpublic void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3)
Loggererror in interface Loggermarker - 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.public void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
Loggererror in interface Loggermarker - 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.public void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
Loggererror in interface Loggermarker - 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.public void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
Loggererror in interface Loggermarker - 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.public void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
Loggererror in interface Loggermarker - 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.public void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
Loggererror in interface Loggermarker - 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.public void error(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
Loggererror in interface Loggermarker - 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.public void error(String message, Object p0)
Loggerpublic void error(String message, Object p0, Object p1)
Loggerpublic void error(String message, Object p0, Object p1, Object p2)
Loggerpublic void error(String message, Object p0, Object p1, Object p2, Object p3)
Loggerpublic void error(String message, Object p0, Object p1, Object p2, Object p3, Object p4)
Loggerpublic void error(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
Loggererror in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - parameter to the message.p2 - parameter to the message.p3 - parameter to the message.p4 - parameter to the message.p5 - parameter to the message.public void error(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
Loggererror in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public void error(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
Loggererror in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public void error(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
Loggererror in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public void error(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
Loggererror in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.@Deprecated public void exit()
Logger@Deprecated public <R> R exit(R result)
Loggerreturn LOGGER.exit(myResult);
protected <R> R exit(String fqcn, R result)
R - The type of the parameter and object being returned.fqcn - The fully qualified class name of the caller.result - The result being returned from the method call.protected <R> R exit(String fqcn, String format, R result)
R - The type of the parameter and object being returned.fqcn - The fully qualified class name of the caller.result - The result being returned from the method call.public void fatal(Marker marker, Message msg)
LoggerFATAL level.public void fatal(Marker marker, Message msg, Throwable t)
LoggerFATAL level.public void fatal(Marker marker, CharSequence message)
LoggerFATAL level.public void fatal(Marker marker, CharSequence message, Throwable t)
Loggerpublic void fatal(Marker marker, Object message)
LoggerFATAL level.public void fatal(Marker marker, Object message, Throwable t)
Loggerpublic void fatal(Marker marker, String message)
LoggerFATAL level.public void fatal(Marker marker, String message, Object... params)
LoggerFATAL level.fatal in interface Loggermarker - 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.Logger.getMessageFactory()public void fatal(Marker marker, String message, Throwable t)
Loggerpublic void fatal(Message msg)
LoggerFATAL level.public void fatal(Message msg, Throwable t)
LoggerFATAL level.public void fatal(CharSequence message)
LoggerFATAL level.public void fatal(CharSequence message, Throwable t)
Loggerpublic void fatal(Object message)
LoggerFATAL level.public void fatal(String message)
LoggerFATAL level.public void fatal(String message, Object... params)
LoggerFATAL level.fatal in interface Loggermessage - the message to log; the format depends on the message factory.params - parameters to the message.Logger.getMessageFactory()public void fatal(Supplier<?> msgSupplier)
LoggerFATAL level.public void fatal(Supplier<?> msgSupplier, Throwable t)
Loggerpublic void fatal(Marker marker, Supplier<?> msgSupplier)
LoggerFATAL level with
the specified Marker.public void fatal(Marker marker, String message, Supplier<?>... paramSuppliers)
LoggerFATAL level.public void fatal(Marker marker, Supplier<?> msgSupplier, Throwable t)
Loggerpublic void fatal(String message, Supplier<?>... paramSuppliers)
LoggerFATAL level.public void fatal(Marker marker, MessageSupplier msgSupplier)
LoggerFATAL level with
the specified Marker. The MessageSupplier may or may not use the MessageFactory to construct the
Message.public void fatal(Marker marker, MessageSupplier msgSupplier, Throwable t)
LoggerFATAL level) with the
specified Marker and including the stack trace of the Throwable t passed as parameter. The
MessageSupplier may or may not use the MessageFactory to construct the Message.public void fatal(MessageSupplier msgSupplier)
LoggerFATAL level. The
MessageSupplier may or may not use the MessageFactory to construct the Message.public void fatal(MessageSupplier msgSupplier, Throwable t)
LoggerFATAL level) including the
stack trace of the Throwable t passed as parameter. The MessageSupplier may or may
not use the MessageFactory to construct the Message.public void fatal(Marker marker, String message, Object p0)
Loggerpublic void fatal(Marker marker, String message, Object p0, Object p1)
Loggerpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2)
Loggerpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3)
Loggerfatal in interface Loggermarker - 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.public void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
Loggerfatal in interface Loggermarker - 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.public void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
Loggerfatal in interface Loggermarker - 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.public void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
Loggerfatal in interface Loggermarker - 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.public void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
Loggerfatal in interface Loggermarker - 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.public void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
Loggerfatal in interface Loggermarker - 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.public void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
Loggerfatal in interface Loggermarker - 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.public void fatal(String message, Object p0)
Loggerpublic void fatal(String message, Object p0, Object p1)
Loggerpublic void fatal(String message, Object p0, Object p1, Object p2)
Loggerpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3)
Loggerpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4)
Loggerpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
Loggerfatal in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - parameter to the message.p2 - parameter to the message.p3 - parameter to the message.p4 - parameter to the message.p5 - parameter to the message.public void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
Loggerfatal in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
Loggerfatal in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
Loggerfatal in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
Loggerfatal in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public <MF extends MessageFactory> MF getMessageFactory()
LoggerMessageFactory2 interface.
From version 2.6.2, the return type of this method was changed from MessageFactory to
<MF extends MessageFactory> MF. The returned factory will always implement MessageFactory2,
but the return type of this method could not be changed to MessageFactory2 without breaking binary
compatibility.getMessageFactory in interface LoggerMessageFactory2public void info(Marker marker, Message msg)
LoggerINFO level.public void info(Marker marker, Message msg, Throwable t)
LoggerINFO level.public void info(Marker marker, CharSequence message)
LoggerINFO level.public void info(Marker marker, CharSequence message, Throwable t)
Loggerpublic void info(Marker marker, Object message)
LoggerINFO level.public void info(Marker marker, Object message, Throwable t)
Loggerpublic void info(Marker marker, String message)
LoggerINFO level.public void info(Marker marker, String message, Object... params)
LoggerINFO level.info in interface Loggermarker - the marker data specific to this log statementmessage - the message to log; the format depends on the message factory.params - parameters to the message.Logger.getMessageFactory()public void info(Marker marker, String message, Throwable t)
Loggerpublic void info(Message msg)
LoggerINFO level.public void info(Message msg, Throwable t)
LoggerINFO level.public void info(CharSequence message)
LoggerINFO level.public void info(CharSequence message, Throwable t)
Loggerpublic void info(Object message)
LoggerINFO level.public void info(String message)
LoggerINFO level.public void info(String message, Object... params)
LoggerINFO level.info in interface Loggermessage - the message to log; the format depends on the message factory.params - parameters to the message.Logger.getMessageFactory()public void info(Supplier<?> msgSupplier)
LoggerINFO level.public void info(Supplier<?> msgSupplier, Throwable t)
Loggerpublic void info(Marker marker, Supplier<?> msgSupplier)
LoggerINFO level with the
specified Marker.public void info(Marker marker, String message, Supplier<?>... paramSuppliers)
LoggerINFO level.public void info(Marker marker, Supplier<?> msgSupplier, Throwable t)
Loggerpublic void info(String message, Supplier<?>... paramSuppliers)
LoggerINFO level.public void info(Marker marker, MessageSupplier msgSupplier)
LoggerINFO level with the
specified Marker. The MessageSupplier may or may not use the MessageFactory to construct the
Message.public void info(Marker marker, MessageSupplier msgSupplier, Throwable t)
LoggerINFO level) with the
specified Marker and including the stack trace of the Throwable t passed as parameter. The
MessageSupplier may or may not use the MessageFactory to construct the Message.public void info(MessageSupplier msgSupplier)
LoggerINFO level. The
MessageSupplier may or may not use the MessageFactory to construct the Message.public void info(MessageSupplier msgSupplier, Throwable t)
LoggerINFO level) including the
stack trace of the Throwable t passed as parameter. The MessageSupplier may or may
not use the MessageFactory to construct the Message.public void info(Marker marker, String message, Object p0)
Loggerpublic void info(Marker marker, String message, Object p0, Object p1)
Loggerpublic void info(Marker marker, String message, Object p0, Object p1, Object p2)
Loggerpublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3)
Loggerinfo in interface Loggermarker - 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.public void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
Loggerinfo in interface Loggermarker - 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.public void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
Loggerinfo in interface Loggermarker - 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.public void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
Loggerinfo in interface Loggermarker - 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.public void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
Loggerinfo in interface Loggermarker - 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.public void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
Loggerinfo in interface Loggermarker - 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.public void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
Loggerinfo in interface Loggermarker - 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.public void info(String message, Object p0)
Loggerpublic void info(String message, Object p0, Object p1)
Loggerpublic void info(String message, Object p0, Object p1, Object p2)
Loggerpublic void info(String message, Object p0, Object p1, Object p2, Object p3)
Loggerpublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4)
Loggerpublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
Loggerinfo in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - parameter to the message.p2 - parameter to the message.p3 - parameter to the message.p4 - parameter to the message.p5 - parameter to the message.public void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
Loggerinfo in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
Loggerinfo in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
Loggerinfo in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
Loggerinfo in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public boolean isDebugEnabled()
LoggerDEBUG Level.isDebugEnabled in interface Loggertrue if this Logger is enabled for level DEBUG, false otherwise.public boolean isDebugEnabled(Marker marker)
LoggerDEBUG Level.isDebugEnabled in interface Loggermarker - The Marker to checktrue if this Logger is enabled for level DEBUG, false otherwise.public boolean isEnabled(Level level)
Logger
Note that passing in OFF always returns true.
public boolean isEnabled(Level level, Marker marker)
Loggerpublic boolean isErrorEnabled()
LoggerERROR Level.isErrorEnabled in interface Loggertrue if this Logger is enabled for level ERROR, false
otherwise.public boolean isErrorEnabled(Marker marker)
LoggerERROR Level.isErrorEnabled in interface Loggermarker - The Marker to checktrue if this Logger is enabled for level ERROR, false
otherwise.public boolean isFatalEnabled()
LoggerFATAL Level.isFatalEnabled in interface Loggertrue if this Logger is enabled for level FATAL, false
otherwise.public boolean isFatalEnabled(Marker marker)
LoggerFATAL Level.isFatalEnabled in interface Loggermarker - The Marker to checktrue if this Logger is enabled for level FATAL, false
otherwise.public boolean isInfoEnabled()
LoggerINFO Level.isInfoEnabled in interface Loggertrue if this Logger is enabled for level INFO, false otherwise.public boolean isInfoEnabled(Marker marker)
LoggerINFO Level.isInfoEnabled in interface Loggermarker - The Marker to checktrue if this Logger is enabled for level INFO, false otherwise.public boolean isTraceEnabled()
LoggerTRACE level.isTraceEnabled in interface Loggertrue if this Logger is enabled for level TRACE, false otherwise.public boolean isTraceEnabled(Marker marker)
LoggerTRACE level.isTraceEnabled in interface Loggermarker - The Marker to checktrue if this Logger is enabled for level TRACE, false otherwise.public boolean isWarnEnabled()
LoggerWARN Level.isWarnEnabled in interface Loggertrue if this Logger is enabled for level WARN, false
otherwise.public boolean isWarnEnabled(Marker marker)
LoggerWARN Level.isWarnEnabled in interface Loggermarker - The Marker to checktrue if this Logger is enabled for level WARN, false
otherwise.public void log(Level level, Marker marker, Message msg)
Loggerpublic void log(Level level, Marker marker, Message msg, Throwable t)
Loggerpublic void log(Level level, Marker marker, CharSequence message)
Loggerpublic void log(Level level, Marker marker, CharSequence message, Throwable t)
LoggerThrowable t passed as
parameter.public void log(Level level, Marker marker, Object message)
Loggerpublic void log(Level level, Marker marker, Object message, Throwable t)
LoggerThrowable t passed as
parameter.public void log(Level level, Marker marker, String message)
Loggerpublic void log(Level level, Marker marker, String message, Object... params)
Loggerlog in interface Loggerlevel - 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.Logger.getMessageFactory()public void log(Level level, Marker marker, String message, Throwable t)
LoggerThrowable t passed as
parameter.public void log(Level level, Message msg)
Loggerpublic void log(Level level, Message msg, Throwable t)
Loggerpublic void log(Level level, CharSequence message)
Loggerpublic void log(Level level, CharSequence message, Throwable t)
LoggerThrowable t passed as
parameter.public void log(Level level, Object message)
Loggerpublic void log(Level level, Object message, Throwable t)
LoggerThrowable t passed as
parameter.public void log(Level level, String message)
Loggerpublic void log(Level level, String message, Object... params)
Loggerlog in interface Loggerlevel - the logging levelmessage - the message to log; the format depends on the message factory.params - parameters to the message.Logger.getMessageFactory()public void log(Level level, String message, Throwable t)
LoggerThrowable t passed as
parameter.public void log(Level level, Supplier<?> msgSupplier)
Loggerpublic void log(Level level, Supplier<?> msgSupplier, Throwable t)
LoggerThrowable t passed as parameter.public void log(Level level, Marker marker, Supplier<?> msgSupplier)
Loggerpublic void log(Level level, Marker marker, String message, Supplier<?>... paramSuppliers)
Loggerlog in interface Loggerlevel - 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.public void log(Level level, Marker marker, Supplier<?> msgSupplier, Throwable t)
LoggerThrowable t passed as parameter.public void log(Level level, String message, Supplier<?>... paramSuppliers)
Loggerpublic void log(Level level, Marker marker, MessageSupplier msgSupplier)
LoggerMessageSupplier may or may not use the MessageFactory to construct the
Message.public void log(Level level, Marker marker, MessageSupplier msgSupplier, Throwable t)
LoggerThrowable t passed as parameter. The MessageSupplier
may or may not use the MessageFactory to construct the Message.public void log(Level level, MessageSupplier msgSupplier)
LoggerMessageSupplier may or may not use the MessageFactory to construct the Message.public void log(Level level, MessageSupplier msgSupplier, Throwable t)
LoggerThrowable t passed as parameter. The MessageSupplier may or may not use the
MessageFactory to construct the Message.public void log(Level level, Marker marker, String message, Object p0)
Loggerpublic void log(Level level, Marker marker, String message, Object p0, Object p1)
Loggerpublic void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2)
Loggerpublic void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3)
Loggerlog in interface Loggerlevel - 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.public void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
Loggerlog in interface Loggerlevel - 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.public void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
Loggerlog in interface Loggerlevel - 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.public void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
Loggerlog in interface Loggerlevel - 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.public void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
Loggerlog in interface Loggerlevel - 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.public void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
Loggerlog in interface Loggerlevel - 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.public void log(Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
Loggerlog in interface Loggerlevel - 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.public void log(Level level, String message, Object p0)
Loggerpublic void log(Level level, String message, Object p0, Object p1)
Loggerpublic void log(Level level, String message, Object p0, Object p1, Object p2)
Loggerpublic void log(Level level, String message, Object p0, Object p1, Object p2, Object p3)
Loggerpublic void log(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
Loggerlog in interface Loggerlevel - 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.public void log(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
Loggerlog in interface Loggerlevel - 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.public void log(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
Loggerlog in interface Loggerlevel - 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.public void log(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
Loggerlog in interface Loggerlevel - 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.public void log(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
Loggerlog in interface Loggerlevel - 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.public void log(Level level, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
Loggerlog in interface Loggerlevel - 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.public void logIfEnabled(String fqcn, Level level, Marker marker, Message msg, Throwable t)
ExtendedLoggerlogIfEnabled in interface ExtendedLoggerfqcn - The fully qualified class name of the logger entry point, used to determine the caller class and
method when location information needs to be logged.level - The logging Level to check.marker - A Marker or null.msg - The Message.t - the exception to log, including its stack trace.public void logIfEnabled(String fqcn, Level level, Marker marker, MessageSupplier msgSupplier, Throwable t)
ExtendedLoggerlogIfEnabled in interface ExtendedLoggerfqcn - The fully qualified class name of the logger entry point, used to determine the caller class and
method when location information needs to be logged.level - The logging Level to check.marker - A Marker or null.msgSupplier - A function, which when called, produces the desired log message.t - the exception to log, including its stack trace.public void logIfEnabled(String fqcn, Level level, Marker marker, Object message, Throwable t)
ExtendedLoggerlogIfEnabled in interface ExtendedLoggerfqcn - The fully qualified class name of the logger entry point, used to determine the caller class and
method when location information needs to be logged.level - The logging Level to check.marker - A Marker or null.message - The message.t - the exception to log, including its stack trace.public void logIfEnabled(String fqcn, Level level, Marker marker, CharSequence message, Throwable t)
ExtendedLoggerlogIfEnabled in interface ExtendedLoggerfqcn - The fully qualified class name of the logger entry point, used to determine the caller class and
method when location information needs to be logged.level - The logging Level to check.marker - A Marker or null.message - The CharSequence message.t - the exception to log, including its stack trace.public void logIfEnabled(String fqcn, Level level, Marker marker, Supplier<?> msgSupplier, Throwable t)
ExtendedLoggerlogIfEnabled in interface ExtendedLoggerfqcn - The fully qualified class name of the logger entry point, used to determine the caller class and
method when location information needs to be logged.level - The logging Level to check.marker - A Marker or null.msgSupplier - A function, which when called, produces the desired log message.t - the exception to log, including its stack trace.public void logIfEnabled(String fqcn, Level level, Marker marker, String message)
ExtendedLoggerlogIfEnabled in interface ExtendedLoggerfqcn - The fully qualified class name of the logger entry point, used to determine the caller class and
method when location information needs to be logged.level - The logging Level to check.marker - A Marker or null.message - The message.public void logIfEnabled(String fqcn, Level level, Marker marker, String message, Supplier<?>... paramSuppliers)
ExtendedLoggerlogIfEnabled in interface ExtendedLoggerfqcn - The fully qualified class name of the logger entry point, used to determine the caller class and
method when location information needs to be logged.level - The logging Level to check.marker - A Marker or null.message - The message format.paramSuppliers - An array of functions, which when called, produce the desired log message parameters.public void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object... params)
ExtendedLoggerlogIfEnabled in interface ExtendedLoggerfqcn - The fully qualified class name of the logger entry point, used to determine the caller class and
method when location information needs to be logged.level - The logging Level to check.marker - A Marker or null.message - The message format.params - The message parameters.public void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0)
ExtendedLoggerlogIfEnabled in interface ExtendedLoggerfqcn - The fully qualified class name of the logger entry point, used to determine the caller class and
method when location information needs to be logged.level - The logging Level to check.marker - A Marker or null.message - The message format.p0 - the message parameterspublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1)
ExtendedLoggerlogIfEnabled in interface ExtendedLoggerfqcn - The fully qualified class name of the logger entry point, used to determine the caller class and
method when location information needs to be logged.level - The logging Level to check.marker - A Marker or null.message - The message format.p0 - the message parametersp1 - the message parameterspublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2)
ExtendedLoggerlogIfEnabled in interface ExtendedLoggerfqcn - The fully qualified class name of the logger entry point, used to determine the caller class and
method when location information needs to be logged.level - The logging Level to check.marker - A Marker or null.message - The message format.p0 - the message parametersp1 - the message parametersp2 - the message parameterspublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3)
ExtendedLoggerlogIfEnabled in interface ExtendedLoggerfqcn - The fully qualified class name of the logger entry point, used to determine the caller class and
method when location information needs to be logged.level - The logging Level to check.marker - A Marker or null.message - The message format.p0 - the message parametersp1 - the message parametersp2 - the message parametersp3 - the message parameterspublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
ExtendedLoggerlogIfEnabled in interface ExtendedLoggerfqcn - The fully qualified class name of the logger entry point, used to determine the caller class and
method when location information needs to be logged.level - The logging Level to check.marker - A Marker or null.message - The message format.p0 - the message parametersp1 - the message parametersp2 - the message parametersp3 - the message parametersp4 - the message parameterspublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
ExtendedLoggerlogIfEnabled in interface ExtendedLoggerfqcn - The fully qualified class name of the logger entry point, used to determine the caller class and
method when location information needs to be logged.level - The logging Level to check.marker - A Marker or null.message - The message format.p0 - the message parametersp1 - the message parametersp2 - the message parametersp3 - the message parametersp4 - the message parametersp5 - the message parameterspublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
ExtendedLoggerlogIfEnabled in interface ExtendedLoggerfqcn - The fully qualified class name of the logger entry point, used to determine the caller class and
method when location information needs to be logged.level - The logging Level to check.marker - A Marker or null.message - The message format.p0 - the message parametersp1 - the message parametersp2 - the message parametersp3 - the message parametersp4 - the message parametersp5 - the message parametersp6 - the message parameterspublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
ExtendedLoggerlogIfEnabled in interface ExtendedLoggerfqcn - The fully qualified class name of the logger entry point, used to determine the caller class and
method when location information needs to be logged.level - The logging Level to check.marker - A Marker or null.message - The message format.p0 - the message parametersp1 - the message parametersp2 - the message parametersp3 - the message parametersp4 - the message parametersp5 - the message parametersp6 - the message parametersp7 - the message parameterspublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
ExtendedLoggerlogIfEnabled in interface ExtendedLoggerfqcn - The fully qualified class name of the logger entry point, used to determine the caller class and
method when location information needs to be logged.level - The logging Level to check.marker - A Marker or null.message - The message format.p0 - the message parametersp1 - the message parametersp2 - the message parametersp3 - the message parametersp4 - the message parametersp5 - the message parametersp6 - the message parametersp7 - the message parametersp8 - the message parameterspublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
ExtendedLoggerlogIfEnabled in interface ExtendedLoggerfqcn - The fully qualified class name of the logger entry point, used to determine the caller class and
method when location information needs to be logged.level - The logging Level to check.marker - A Marker or null.message - The message format.p0 - the message parametersp1 - the message parametersp2 - the message parametersp3 - the message parametersp4 - the message parametersp5 - the message parametersp6 - the message parametersp7 - the message parametersp8 - the message parametersp9 - the message parameterspublic void logIfEnabled(String fqcn, Level level, Marker marker, String message, Throwable t)
ExtendedLoggerlogIfEnabled in interface ExtendedLoggerfqcn - The fully qualified class name of the logger entry point, used to determine the caller class and
method when location information needs to be logged.level - The logging Level to check.marker - A Marker or null.message - The message.t - the exception to log, including its stack trace.protected void logMessage(String fqcn, Level level, Marker marker, CharSequence message, Throwable t)
protected void logMessage(String fqcn, Level level, Marker marker, Object message, Throwable t)
protected void logMessage(String fqcn, Level level, Marker marker, MessageSupplier msgSupplier, Throwable t)
protected void logMessage(String fqcn, Level level, Marker marker, Supplier<?> msgSupplier, Throwable t)
protected void logMessage(String fqcn, Level level, Marker marker, String message, Throwable t)
protected void logMessage(String fqcn, Level level, Marker marker, String message, Object... params)
protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0)
protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1)
protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2)
protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3)
protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
protected void logMessage(String fqcn, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
protected void logMessage(String fqcn, Level level, Marker marker, String message, Supplier<?>... paramSuppliers)
public void printf(Level level, Marker marker, String format, Object... params)
Loggerpublic void printf(Level level, String format, Object... params)
Loggerpublic static int getRecursionDepth()
public <T extends Throwable> T throwing(T t)
Loggerthrow logger.throwing(myException);
public <T extends Throwable> T throwing(Level level, T t)
Loggerthrow logger.throwing(Level.DEBUG, myException);
protected <T extends Throwable> T throwing(String fqcn, Level level, T t)
T - the type of the Throwable.fqcn - the fully qualified class name of this Logger implementation.level - The logging Level.t - The Throwable.public void trace(Marker marker, Message msg)
LoggerTRACE level.public void trace(Marker marker, Message msg, Throwable t)
LoggerTRACE level.public void trace(Marker marker, CharSequence message)
LoggerTRACE level.public void trace(Marker marker, CharSequence message, Throwable t)
LoggerTRACE level including the stack trace of the Throwable
t passed as parameter.trace in interface Loggermarker - the marker data specific to this log statementmessage - the message CharSequence to log.t - the exception to log, including its stack trace.Logger.debug(String)public void trace(Marker marker, Object message)
LoggerTRACE level.public void trace(Marker marker, Object message, Throwable t)
Loggertrace in interface Loggermarker - the marker data specific to this log statementmessage - the message object to log.t - the exception to log, including its stack trace.Logger.debug(String)public void trace(Marker marker, String message)
LoggerTRACE level.public void trace(Marker marker, String message, Object... params)
LoggerTRACE level.trace in interface Loggermarker - the marker data specific to this log statementmessage - the message to log; the format depends on the message factory.params - parameters to the message.Logger.getMessageFactory()public void trace(Marker marker, String message, Throwable t)
Loggertrace in interface Loggermarker - the marker data specific to this log statementmessage - the message object to log.t - the exception to log, including its stack trace.Logger.debug(String)public void trace(Message msg)
LoggerTRACE level.public void trace(Message msg, Throwable t)
LoggerTRACE level.public void trace(CharSequence message)
LoggerTRACE level.public void trace(CharSequence message, Throwable t)
LoggerTRACE level including the stack trace of the Throwable
t passed as parameter.trace in interface Loggermessage - the message CharSequence to log.t - the exception to log, including its stack trace.Logger.debug(String)public void trace(Object message)
LoggerTRACE level.public void trace(Object message, Throwable t)
Loggertrace in interface Loggermessage - the message object to log.t - the exception to log, including its stack trace.Logger.debug(String)public void trace(String message)
LoggerTRACE level.public void trace(String message, Object... params)
LoggerTRACE level.trace in interface Loggermessage - the message to log; the format depends on the message factory.params - parameters to the message.Logger.getMessageFactory()public void trace(String message, Throwable t)
Loggertrace in interface Loggermessage - the message object to log.t - the exception to log, including its stack trace.Logger.debug(String)public void trace(Supplier<?> msgSupplier)
LoggerTRACE level.public void trace(Supplier<?> msgSupplier, Throwable t)
Loggerpublic void trace(Marker marker, Supplier<?> msgSupplier)
LoggerTRACE level with
the specified Marker.public void trace(Marker marker, String message, Supplier<?>... paramSuppliers)
LoggerTRACE level.public void trace(Marker marker, Supplier<?> msgSupplier, Throwable t)
Loggerpublic void trace(String message, Supplier<?>... paramSuppliers)
LoggerTRACE level.public void trace(Marker marker, MessageSupplier msgSupplier)
LoggerTRACE level with
the specified Marker. The MessageSupplier may or may not use the MessageFactory to construct the
Message.public void trace(Marker marker, MessageSupplier msgSupplier, Throwable t)
LoggerTRACE level) with the
specified Marker and including the stack trace of the Throwable t passed as parameter. The
MessageSupplier may or may not use the MessageFactory to construct the Message.public void trace(MessageSupplier msgSupplier)
LoggerTRACE level. The
MessageSupplier may or may not use the MessageFactory to construct the Message.public void trace(MessageSupplier msgSupplier, Throwable t)
LoggerTRACE level) including the
stack trace of the Throwable t passed as parameter. The MessageSupplier may or may
not use the MessageFactory to construct the Message.public void trace(Marker marker, String message, Object p0)
Loggerpublic void trace(Marker marker, String message, Object p0, Object p1)
Loggerpublic void trace(Marker marker, String message, Object p0, Object p1, Object p2)
Loggerpublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3)
Loggertrace in interface Loggermarker - 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.public void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
Loggertrace in interface Loggermarker - 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.public void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
Loggertrace in interface Loggermarker - 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.public void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
Loggertrace in interface Loggermarker - 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.public void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
Loggertrace in interface Loggermarker - 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.public void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
Loggertrace in interface Loggermarker - 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.public void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
Loggertrace in interface Loggermarker - 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.public void trace(String message, Object p0)
Loggerpublic void trace(String message, Object p0, Object p1)
Loggerpublic void trace(String message, Object p0, Object p1, Object p2)
Loggerpublic void trace(String message, Object p0, Object p1, Object p2, Object p3)
Loggerpublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4)
Loggerpublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
Loggertrace in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - parameter to the message.p2 - parameter to the message.p3 - parameter to the message.p4 - parameter to the message.p5 - parameter to the message.public void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
Loggertrace in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
Loggertrace in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
Loggertrace in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
Loggertrace in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public EntryMessage traceEntry()
LoggertraceEntry in interface Loggerpublic EntryMessage traceEntry(String format, Object... params)
Logger
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);
}
traceEntry in interface Loggerformat - The format String for the parameters.params - The parameters to the method.public EntryMessage traceEntry(Supplier<?>... paramSuppliers)
Logger
public void doSomething(Request foo) {
LOGGER.traceEntry(()->gson.toJson(foo));
// do something
}
traceEntry in interface LoggerparamSuppliers - The Suppliers for the parameters to the method.public EntryMessage traceEntry(String format, Supplier<?>... paramSuppliers)
Logger
public void doSomething(String foo, int bar) {
LOGGER.traceEntry("Parameters: {} and {}", ()->gson.toJson(foo), ()-> bar);
// do something
}
traceEntry in interface Loggerformat - The format String for the parameters.paramSuppliers - The Suppliers for the parameters to the method.public EntryMessage traceEntry(Message message)
Logger
public void doSomething(Request foo) {
LOGGER.traceEntry(new JsonMessage(foo));
// do something
}
Avoid passing a ReusableMessage to this method (therefore, also avoid passing messages created by
calling logger.getMessageFactory().newMessage("some message")): Log4j will replace such messages with
an immutable message to prevent situations where the reused message instance is modified by subsequent calls to
the logger before the returned EntryMessage is fully processed.
traceEntry in interface Loggermessage - The message. Avoid specifying a ReusableMessage, use immutable messages instead.ReusableMessagepublic void traceExit()
Loggerpublic <R> R traceExit(R result)
Loggerreturn LOGGER.traceExit(myResult);
public <R> R traceExit(String format, R result)
Logger
return LOGGER.traceExit("Result: {}", myResult);
public void traceExit(EntryMessage message)
Logger
public long doSomething(int a, int b) {
EntryMessage m = traceEntry("doSomething(a={}, b={})", a, b);
// ...
return LOGGER.traceExit(m);
}
public <R> R traceExit(EntryMessage message, R result)
Logger
public long doSomething(int a, int b) {
EntryMessage m = traceEntry("doSomething(a={}, b={})", a, b);
// ...
return LOGGER.traceExit(m, myResult);
}
public <R> R traceExit(Message message, R result)
Loggerreturn LOGGER.traceExit(new JsonMessage(myResult), myResult);
public void warn(Marker marker, Message msg)
LoggerWARN level.public void warn(Marker marker, Message msg, Throwable t)
LoggerWARN level.public void warn(Marker marker, CharSequence message)
LoggerWARN level.public void warn(Marker marker, CharSequence message, Throwable t)
Loggerpublic void warn(Marker marker, Object message)
LoggerWARN level.public void warn(Marker marker, Object message, Throwable t)
Loggerpublic void warn(Marker marker, String message)
LoggerWARN level.public void warn(Marker marker, String message, Object... params)
LoggerWARN level.warn in interface Loggermarker - 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.Logger.getMessageFactory()public void warn(Marker marker, String message, Throwable t)
Loggerpublic void warn(Message msg)
LoggerWARN level.public void warn(Message msg, Throwable t)
LoggerWARN level.public void warn(CharSequence message)
LoggerWARN level.public void warn(CharSequence message, Throwable t)
Loggerpublic void warn(Object message)
LoggerWARN level.public void warn(String message)
LoggerWARN level.public void warn(String message, Object... params)
LoggerWARN level.warn in interface Loggermessage - the message to log; the format depends on the message factory.params - parameters to the message.Logger.getMessageFactory()public void warn(Supplier<?> msgSupplier)
LoggerWARN level.public void warn(Supplier<?> msgSupplier, Throwable t)
Loggerpublic void warn(Marker marker, Supplier<?> msgSupplier)
LoggerWARN level with the
specified Marker.public void warn(Marker marker, String message, Supplier<?>... paramSuppliers)
LoggerWARN level.public void warn(Marker marker, Supplier<?> msgSupplier, Throwable t)
Loggerpublic void warn(String message, Supplier<?>... paramSuppliers)
LoggerWARN level.public void warn(Marker marker, MessageSupplier msgSupplier)
LoggerWARN level with the
specified Marker. The MessageSupplier may or may not use the MessageFactory to construct the
Message.public void warn(Marker marker, MessageSupplier msgSupplier, Throwable t)
LoggerWARN level) with the
specified Marker and including the stack warn of the Throwable t passed as parameter. The
MessageSupplier may or may not use the MessageFactory to construct the Message.public void warn(MessageSupplier msgSupplier)
LoggerWARN level. The
MessageSupplier may or may not use the MessageFactory to construct the Message.public void warn(MessageSupplier msgSupplier, Throwable t)
LoggerWARN level) including the
stack warn of the Throwable t passed as parameter. The MessageSupplier may or may
not use the MessageFactory to construct the Message.public void warn(Marker marker, String message, Object p0)
Loggerpublic void warn(Marker marker, String message, Object p0, Object p1)
Loggerpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2)
Loggerpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3)
Loggerwarn in interface Loggermarker - 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.public void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4)
Loggerwarn in interface Loggermarker - 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.public void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
Loggerwarn in interface Loggermarker - 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.public void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
Loggerwarn in interface Loggermarker - 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.public void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
Loggerwarn in interface Loggermarker - 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.public void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
Loggerwarn in interface Loggermarker - 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.public void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
Loggerwarn in interface Loggermarker - 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.public void warn(String message, Object p0)
Loggerpublic void warn(String message, Object p0, Object p1)
Loggerpublic void warn(String message, Object p0, Object p1, Object p2)
Loggerpublic void warn(String message, Object p0, Object p1, Object p2, Object p3)
Loggerpublic void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4)
Loggerpublic void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
Loggerwarn in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - parameter to the message.p2 - parameter to the message.p3 - parameter to the message.p4 - parameter to the message.p5 - parameter to the message.public void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
Loggerwarn in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
Loggerwarn in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
Loggerwarn in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.public void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
Loggerwarn in interface Loggermessage - the message to log; the format depends on the message factory.p0 - parameter to the message.p1 - 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.Copyright © 1999-2019 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.