| 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
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
|
void |
Logger.debug(MessageSupplier
Logs a message which is only to be constructed if the logging level is the
DEBUG level.
|
void |
Logger.debug(MessageSupplier
|
void |
Logger.error(Marker
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
|
void |
Logger.error(MessageSupplier
Logs a message which is only to be constructed if the logging level is the
ERROR level.
|
void |
Logger.error(MessageSupplier
|
void |
Logger.fatal(Marker
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
|
void |
Logger.fatal(MessageSupplier
Logs a message which is only to be constructed if the logging level is the
FATAL level.
|
void |
Logger.fatal(MessageSupplier
|
void |
Logger.info(Marker
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
|
void |
Logger.info(MessageSupplier
Logs a message which is only to be constructed if the logging level is the
INFO level.
|
void |
Logger.info(MessageSupplier
|
void |
Logger.log(Level
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
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
Logs a message which is only to be constructed if the logging level is the specified level.
|
void |
Logger.log(Level
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
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
|
void |
Logger.trace(MessageSupplier
Logs a message which is only to be constructed if the logging level is the
TRACE level.
|
void |
Logger.trace(MessageSupplier
|
void |
Logger.warn(Marker
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
|
void |
Logger.warn(MessageSupplier
Logs a message which is only to be constructed if the logging level is the
WARN level.
|
void |
Logger.warn(MessageSupplier
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractLogger.debug(Marker
|
void |
AbstractLogger.debug(Marker
|
void |
AbstractLogger.debug(MessageSupplier
|
void |
AbstractLogger.debug(MessageSupplier
|
void |
AbstractLogger.error(Marker
|
void |
AbstractLogger.error(Marker
|
void |
AbstractLogger.error(MessageSupplier
|
void |
AbstractLogger.error(MessageSupplier
|
void |
AbstractLogger.fatal(Marker
|
void |
AbstractLogger.fatal(Marker
|
void |
AbstractLogger.fatal(MessageSupplier
|
void |
AbstractLogger.fatal(MessageSupplier
|
void |
AbstractLogger.info(Marker
|
void |
AbstractLogger.info(Marker
|
void |
AbstractLogger.info(MessageSupplier
|
void |
AbstractLogger.info(MessageSupplier
|
void |
AbstractLogger.log(Level
|
void |
AbstractLogger.log(Level
|
void |
AbstractLogger.log(Level
|
void |
AbstractLogger.log(Level
|
void |
ExtendedLogger.logIfEnabled(String
Logs a message which is only to be constructed if the specified level is active.
|
void |
AbstractLogger.logIfEnabled(String
|
protected void |
AbstractLogger.logMessage(String
|
void |
AbstractLogger.trace(Marker
|
void |
AbstractLogger.trace(Marker
|
void |
AbstractLogger.trace(MessageSupplier
|
void |
AbstractLogger.trace(MessageSupplier
|
void |
AbstractLogger.warn(Marker
|
void |
AbstractLogger.warn(Marker
|
void |
AbstractLogger.warn(MessageSupplier
|
void |
AbstractLogger.warn(MessageSupplier
|
| Modifier and Type | Method and Description |
|---|---|
static Message |
LambdaUtil.get(MessageSupplier
Returns the Message supplied by the specified function.
|