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 | 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,
Throwable t) |
|
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,
Throwable t) |
|
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,
Throwable t) |
|
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,
Throwable t) |
|
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,
Throwable t) |
|
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,
Throwable t) |
|
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,
Throwable t) |
|
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,
Throwable t) |
|
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,
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,
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,
Throwable t) |
|
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,
Throwable t) |
|
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,
Throwable t) |
|
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,
Throwable t) |
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractLogger.debug(Marker marker,
MessageSupplier msgSupplier) |
|
void |
AbstractLogger.debug(Marker marker,
MessageSupplier msgSupplier,
Throwable t) |
|
void |
AbstractLogger.debug(MessageSupplier msgSupplier) |
|
void |
AbstractLogger.debug(MessageSupplier msgSupplier,
Throwable t) |
|
protected EntryMessage |
AbstractLogger.enter(String fqcn,
String format,
MessageSupplier... paramSuppliers) |
Deprecated.
|
protected EntryMessage |
AbstractLogger.enter(String fqcn,
MessageSupplier msgSupplier) |
Deprecated.
|
protected EntryMessage |
AbstractLogger.entryMsg(String format,
MessageSupplier... paramSuppliers) |
|
void |
AbstractLogger.error(Marker marker,
MessageSupplier msgSupplier) |
|
void |
AbstractLogger.error(Marker marker,
MessageSupplier msgSupplier,
Throwable t) |
|
void |
AbstractLogger.error(MessageSupplier msgSupplier) |
|
void |
AbstractLogger.error(MessageSupplier msgSupplier,
Throwable t) |
|
void |
AbstractLogger.fatal(Marker marker,
MessageSupplier msgSupplier) |
|
void |
AbstractLogger.fatal(Marker marker,
MessageSupplier msgSupplier,
Throwable t) |
|
void |
AbstractLogger.fatal(MessageSupplier msgSupplier) |
|
void |
AbstractLogger.fatal(MessageSupplier msgSupplier,
Throwable t) |
|
void |
AbstractLogger.info(Marker marker,
MessageSupplier msgSupplier) |
|
void |
AbstractLogger.info(Marker marker,
MessageSupplier msgSupplier,
Throwable t) |
|
void |
AbstractLogger.info(MessageSupplier msgSupplier) |
|
void |
AbstractLogger.info(MessageSupplier msgSupplier,
Throwable t) |
|
void |
AbstractLogger.log(Level level,
Marker marker,
MessageSupplier msgSupplier) |
|
void |
AbstractLogger.log(Level level,
Marker marker,
MessageSupplier msgSupplier,
Throwable t) |
|
void |
AbstractLogger.log(Level level,
MessageSupplier msgSupplier) |
|
void |
AbstractLogger.log(Level level,
MessageSupplier msgSupplier,
Throwable t) |
|
void |
AbstractLogger.logIfEnabled(String fqcn,
Level level,
Marker marker,
MessageSupplier msgSupplier,
Throwable t) |
|
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.
|
protected void |
AbstractLogger.logMessage(String fqcn,
Level level,
Marker marker,
MessageSupplier msgSupplier,
Throwable t) |
|
void |
AbstractLogger.trace(Marker marker,
MessageSupplier msgSupplier) |
|
void |
AbstractLogger.trace(Marker marker,
MessageSupplier msgSupplier,
Throwable t) |
|
void |
AbstractLogger.trace(MessageSupplier msgSupplier) |
|
void |
AbstractLogger.trace(MessageSupplier msgSupplier,
Throwable t) |
|
void |
AbstractLogger.warn(Marker marker,
MessageSupplier msgSupplier) |
|
void |
AbstractLogger.warn(Marker marker,
MessageSupplier msgSupplier,
Throwable t) |
|
void |
AbstractLogger.warn(MessageSupplier msgSupplier) |
|
void |
AbstractLogger.warn(MessageSupplier msgSupplier,
Throwable t) |
Modifier and Type | Method | Description |
---|---|---|
static Message |
LambdaUtil.get(MessageSupplier supplier) |
Returns the Message supplied by the specified function.
|
Copyright © 1999-2018. 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.