Package | Description |
---|---|
org.apache.logging.log4j |
Public API for Log4j 2.
|
org.apache.logging.log4j.spi |
Internal interfaces and classes to be used by authors of logging implementations or for internal use by
API classes.
|
org.apache.logging.log4j.util |
Internal utility classes for the Log4j 2 API.
|
Modifier and Type | Method and Description |
---|---|
void |
Logger.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 |
Logger.debug(Marker marker,
MessageSupplier msgSupplier,
java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is the
DEBUG level) with the
specified Marker and including the stack trace of the Throwable t passed as parameter. |
void |
Logger.debug(MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the
DEBUG level. |
void |
Logger.debug(MessageSupplier msgSupplier,
java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is the
DEBUG level) including the
stack trace of the Throwable t passed as parameter. |
void |
Logger.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 |
Logger.error(Marker marker,
MessageSupplier msgSupplier,
java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is the
ERROR level) with the
specified Marker and including the stack trace of the Throwable t passed as parameter. |
void |
Logger.error(MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the
ERROR level. |
void |
Logger.error(MessageSupplier msgSupplier,
java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is the
ERROR level) including the
stack trace of the Throwable t passed as parameter. |
void |
Logger.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 |
Logger.fatal(Marker marker,
MessageSupplier msgSupplier,
java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is the
FATAL level) with the
specified Marker and including the stack trace of the Throwable t passed as parameter. |
void |
Logger.fatal(MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the
FATAL level. |
void |
Logger.fatal(MessageSupplier msgSupplier,
java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is the
FATAL level) including the
stack trace of the Throwable t passed as parameter. |
void |
Logger.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 |
Logger.info(Marker marker,
MessageSupplier msgSupplier,
java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is the
INFO level) with the
specified Marker and including the stack trace of the Throwable t passed as parameter. |
void |
Logger.info(MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the
INFO level. |
void |
Logger.info(MessageSupplier msgSupplier,
java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is the
INFO level) including the
stack trace of the Throwable t passed as parameter. |
void |
Logger.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 |
Logger.log(Level level,
Marker marker,
MessageSupplier msgSupplier,
java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is the specified level) with the specified Marker and
including the stack log of the
Throwable t passed as parameter. |
void |
Logger.log(Level level,
MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the specified level.
|
void |
Logger.log(Level level,
MessageSupplier msgSupplier,
java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is the specified level) including the stack log of
the
Throwable t passed as parameter. |
void |
Logger.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 |
Logger.trace(Marker marker,
MessageSupplier msgSupplier,
java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is the
TRACE level) with the
specified Marker and including the stack trace of the Throwable t passed as parameter. |
void |
Logger.trace(MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the
TRACE level. |
void |
Logger.trace(MessageSupplier msgSupplier,
java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is the
TRACE level) including the
stack trace of the Throwable t passed as parameter. |
void |
Logger.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 |
Logger.warn(Marker marker,
MessageSupplier msgSupplier,
java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is the
WARN level) with the
specified Marker and including the stack warn of the Throwable t passed as parameter. |
void |
Logger.warn(MessageSupplier msgSupplier)
Logs a message which is only to be constructed if the logging level is the
WARN level. |
void |
Logger.warn(MessageSupplier msgSupplier,
java.lang.Throwable t)
Logs a message (only to be constructed if the logging level is the
WARN level) including the
stack warn of the Throwable t passed as parameter. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractLogger.debug(Marker marker,
MessageSupplier msgSupplier) |
void |
AbstractLogger.debug(Marker marker,
MessageSupplier msgSupplier,
java.lang.Throwable t) |
void |
AbstractLogger.debug(MessageSupplier msgSupplier) |
void |
AbstractLogger.debug(MessageSupplier msgSupplier,
java.lang.Throwable t) |
protected EntryMessage |
AbstractLogger.enter(java.lang.String fqcn,
MessageSupplier msgSupplier)
Deprecated.
|
protected EntryMessage |
AbstractLogger.enter(java.lang.String fqcn,
java.lang.String format,
MessageSupplier... paramSuppliers)
Deprecated.
|
protected EntryMessage |
AbstractLogger.entryMsg(java.lang.String format,
MessageSupplier... paramSuppliers) |
void |
AbstractLogger.error(Marker marker,
MessageSupplier msgSupplier) |
void |
AbstractLogger.error(Marker marker,
MessageSupplier msgSupplier,
java.lang.Throwable t) |
void |
AbstractLogger.error(MessageSupplier msgSupplier) |
void |
AbstractLogger.error(MessageSupplier msgSupplier,
java.lang.Throwable t) |
void |
AbstractLogger.fatal(Marker marker,
MessageSupplier msgSupplier) |
void |
AbstractLogger.fatal(Marker marker,
MessageSupplier msgSupplier,
java.lang.Throwable t) |
void |
AbstractLogger.fatal(MessageSupplier msgSupplier) |
void |
AbstractLogger.fatal(MessageSupplier msgSupplier,
java.lang.Throwable t) |
void |
AbstractLogger.info(Marker marker,
MessageSupplier msgSupplier) |
void |
AbstractLogger.info(Marker marker,
MessageSupplier msgSupplier,
java.lang.Throwable t) |
void |
AbstractLogger.info(MessageSupplier msgSupplier) |
void |
AbstractLogger.info(MessageSupplier msgSupplier,
java.lang.Throwable t) |
void |
AbstractLogger.log(Level level,
Marker marker,
MessageSupplier msgSupplier) |
void |
AbstractLogger.log(Level level,
Marker marker,
MessageSupplier msgSupplier,
java.lang.Throwable t) |
void |
AbstractLogger.log(Level level,
MessageSupplier msgSupplier) |
void |
AbstractLogger.log(Level level,
MessageSupplier msgSupplier,
java.lang.Throwable t) |
void |
ExtendedLogger.logIfEnabled(java.lang.String fqcn,
Level level,
Marker marker,
MessageSupplier msgSupplier,
java.lang.Throwable t)
Logs a message which is only to be constructed if the specified level is active.
|
void |
AbstractLogger.logIfEnabled(java.lang.String fqcn,
Level level,
Marker marker,
MessageSupplier msgSupplier,
java.lang.Throwable t) |
protected void |
AbstractLogger.logMessage(java.lang.String fqcn,
Level level,
Marker marker,
MessageSupplier msgSupplier,
java.lang.Throwable t) |
void |
AbstractLogger.trace(Marker marker,
MessageSupplier msgSupplier) |
void |
AbstractLogger.trace(Marker marker,
MessageSupplier msgSupplier,
java.lang.Throwable t) |
void |
AbstractLogger.trace(MessageSupplier msgSupplier) |
void |
AbstractLogger.trace(MessageSupplier msgSupplier,
java.lang.Throwable t) |
void |
AbstractLogger.warn(Marker marker,
MessageSupplier msgSupplier) |
void |
AbstractLogger.warn(Marker marker,
MessageSupplier msgSupplier,
java.lang.Throwable t) |
void |
AbstractLogger.warn(MessageSupplier msgSupplier) |
void |
AbstractLogger.warn(MessageSupplier msgSupplier,
java.lang.Throwable t) |
Modifier and Type | Method and Description |
---|---|
static Message |
LambdaUtil.get(MessageSupplier supplier)
Returns the Message supplied by the specified function.
|