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 messageSupplier)
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 messageSupplier,
Throwable throwable)
|
void |
Logger.debug(MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is the
DEBUG level. |
void |
Logger.debug(MessageSupplier messageSupplier,
Throwable throwable)
|
void |
Logger.error(Marker marker,
MessageSupplier messageSupplier)
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 messageSupplier,
Throwable throwable)
|
void |
Logger.error(MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is the
ERROR level. |
void |
Logger.error(MessageSupplier messageSupplier,
Throwable throwable)
|
void |
Logger.fatal(Marker marker,
MessageSupplier messageSupplier)
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 messageSupplier,
Throwable throwable)
|
void |
Logger.fatal(MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is the
FATAL level. |
void |
Logger.fatal(MessageSupplier messageSupplier,
Throwable throwable)
|
void |
Logger.info(Marker marker,
MessageSupplier messageSupplier)
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 messageSupplier,
Throwable throwable)
|
void |
Logger.info(MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is the
INFO level. |
void |
Logger.info(MessageSupplier messageSupplier,
Throwable throwable)
|
void |
Logger.log(Level level,
Marker marker,
MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is the specified level with the specified
Marker.
|
void |
Logger.log(Level level,
Marker marker,
MessageSupplier messageSupplier,
Throwable throwable)
Logs a message (only to be constructed if the logging level is the specified level) with the specified Marker and
including the stack log of the
Throwable throwable passed as parameter. |
void |
Logger.log(Level level,
MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is the specified level.
|
void |
Logger.log(Level level,
MessageSupplier messageSupplier,
Throwable throwable)
Logs a message (only to be constructed if the logging level is the specified level) including the stack log of
the
Throwable throwable passed as parameter. |
void |
Logger.trace(Marker marker,
MessageSupplier messageSupplier)
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 messageSupplier,
Throwable throwable)
|
void |
Logger.trace(MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is the
TRACE level. |
void |
Logger.trace(MessageSupplier messageSupplier,
Throwable throwable)
|
void |
Logger.warn(Marker marker,
MessageSupplier messageSupplier)
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 messageSupplier,
Throwable throwable)
|
void |
Logger.warn(MessageSupplier messageSupplier)
Logs a message which is only to be constructed if the logging level is the
WARN level. |
void |
Logger.warn(MessageSupplier messageSupplier,
Throwable throwable)
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractLogger.debug(Marker marker,
MessageSupplier messageSupplier) |
void |
AbstractLogger.debug(Marker marker,
MessageSupplier messageSupplier,
Throwable throwable) |
void |
AbstractLogger.debug(MessageSupplier messageSupplier) |
void |
AbstractLogger.debug(MessageSupplier messageSupplier,
Throwable throwable) |
protected EntryMessage |
AbstractLogger.enter(String fqcn,
MessageSupplier messageSupplier)
Deprecated.
|
protected EntryMessage |
AbstractLogger.enter(String fqcn,
String format,
MessageSupplier... paramSuppliers)
Deprecated.
|
protected EntryMessage |
AbstractLogger.entryMsg(String format,
MessageSupplier... paramSuppliers) |
void |
AbstractLogger.error(Marker marker,
MessageSupplier messageSupplier) |
void |
AbstractLogger.error(Marker marker,
MessageSupplier messageSupplier,
Throwable throwable) |
void |
AbstractLogger.error(MessageSupplier messageSupplier) |
void |
AbstractLogger.error(MessageSupplier messageSupplier,
Throwable throwable) |
void |
AbstractLogger.fatal(Marker marker,
MessageSupplier messageSupplier) |
void |
AbstractLogger.fatal(Marker marker,
MessageSupplier messageSupplier,
Throwable throwable) |
void |
AbstractLogger.fatal(MessageSupplier messageSupplier) |
void |
AbstractLogger.fatal(MessageSupplier messageSupplier,
Throwable throwable) |
void |
AbstractLogger.info(Marker marker,
MessageSupplier messageSupplier) |
void |
AbstractLogger.info(Marker marker,
MessageSupplier messageSupplier,
Throwable throwable) |
void |
AbstractLogger.info(MessageSupplier messageSupplier) |
void |
AbstractLogger.info(MessageSupplier messageSupplier,
Throwable throwable) |
void |
AbstractLogger.log(Level level,
Marker marker,
MessageSupplier messageSupplier) |
void |
AbstractLogger.log(Level level,
Marker marker,
MessageSupplier messageSupplier,
Throwable throwable) |
void |
AbstractLogger.log(Level level,
MessageSupplier messageSupplier) |
void |
AbstractLogger.log(Level level,
MessageSupplier messageSupplier,
Throwable throwable) |
void |
ExtendedLogger.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 |
AbstractLogger.logIfEnabled(String fqcn,
Level level,
Marker marker,
MessageSupplier messageSupplier,
Throwable throwable) |
protected void |
AbstractLogger.logMessage(String fqcn,
Level level,
Marker marker,
MessageSupplier messageSupplier,
Throwable throwable) |
void |
AbstractLogger.trace(Marker marker,
MessageSupplier messageSupplier) |
void |
AbstractLogger.trace(Marker marker,
MessageSupplier messageSupplier,
Throwable throwable) |
void |
AbstractLogger.trace(MessageSupplier messageSupplier) |
void |
AbstractLogger.trace(MessageSupplier messageSupplier,
Throwable throwable) |
void |
AbstractLogger.warn(Marker marker,
MessageSupplier messageSupplier) |
void |
AbstractLogger.warn(Marker marker,
MessageSupplier messageSupplier,
Throwable throwable) |
void |
AbstractLogger.warn(MessageSupplier messageSupplier) |
void |
AbstractLogger.warn(MessageSupplier messageSupplier,
Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
static Message |
LambdaUtil.get(MessageSupplier supplier)
Returns the Message supplied by the specified function.
|
Copyright © 1999-1969 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.