Package | Description |
---|---|
org.apache.logging.log4j |
Public API for Log4j 2.0.
|
org.apache.logging.log4j.core |
Implementation of Log4j 2.0.
|
org.apache.logging.log4j.core.appender |
Log4j 2.0 Appenders.
|
org.apache.logging.log4j.core.appender.rewrite |
Apache Flume Appender.
|
org.apache.logging.log4j.core.appender.rolling |
Rolling File Appender and support classes.
|
org.apache.logging.log4j.core.appender.rolling.helper |
Support classes for the Rolling File Appender.
|
org.apache.logging.log4j.core.async |
Provides Asynchronous Logger classes and interfaces for low-latency logging.
|
org.apache.logging.log4j.core.config |
Configuration of Log4j 2.0.
|
org.apache.logging.log4j.core.filter |
Log4j 2.0 Filter support.
|
org.apache.logging.log4j.core.layout |
Log4j 2.0 Layout support.
|
org.apache.logging.log4j.core.net |
Log4j 2.0 network support.
|
org.apache.logging.log4j.core.pattern |
Provides classes implementing format specifiers in conversion patterns.
|
org.apache.logging.log4j.jcl |
Log4j 2.0 adapter for Commons Logging.
|
org.apache.logging.log4j.simple |
Simple logging implementation.
|
org.apache.logging.log4j.spi |
Internal interfaces and classes to be used by authors of logging implementations.
|
org.apache.logging.log4j.status |
Status API for Log4j 2.0.
|
org.apache.logging.slf4j |
SLF4J support.
|
Modifier and Type | Method and Description |
---|---|
static Logger |
LogManager.getFormatterLogger(Class<?> clazz)
Returns a formatter Logger using the fully qualified name of the Class as the Logger name.
|
static Logger |
LogManager.getFormatterLogger(Object value)
Returns a formatter Logger using the fully qualified name of the value's Class as the Logger name.
|
static Logger |
LogManager.getFormatterLogger(String name)
Returns a formatter Logger with the specified name.
|
static Logger |
LogManager.getLogger()
Returns a Logger with the name of the calling class.
|
static Logger |
LogManager.getLogger(Class<?> clazz)
Returns a Logger using the fully qualified name of the Class as the Logger name.
|
static Logger |
LogManager.getLogger(Class<?> clazz,
MessageFactory messageFactory)
Returns a Logger using the fully qualified name of the Class as the Logger name.
|
static Logger |
LogManager.getLogger(MessageFactory messageFactory)
Returns a Logger with the name of the calling class.
|
static Logger |
LogManager.getLogger(Object value)
Returns a Logger using the fully qualified class name of the value as the Logger name.
|
static Logger |
LogManager.getLogger(Object value,
MessageFactory messageFactory)
Returns a Logger using the fully qualified class name of the value as the Logger name.
|
static Logger |
LogManager.getLogger(String name)
Returns a Logger with the specified name.
|
static Logger |
LogManager.getLogger(String name,
MessageFactory messageFactory)
Returns a Logger with the specified name.
|
protected static Logger |
LogManager.getLogger(String fqcn,
String name)
Returns a Logger with the specified name.
|
static Logger |
LogManager.getRootLogger()
Returns the root logger.
|
Modifier and Type | Class and Description |
---|---|
class |
Logger |
Modifier and Type | Field and Description |
---|---|
protected static Logger |
AbstractManager.LOGGER
Allow subclasses access to the status logger without creating another instance.
|
Modifier and Type | Field and Description |
---|---|
protected static Logger |
PropertiesRewritePolicy.LOGGER
Allow subclasses access to the status logger without creating another instance.
|
protected static Logger |
MapRewritePolicy.LOGGER
Allow subclasses access to the status logger without creating another instance.
|
Modifier and Type | Field and Description |
---|---|
protected static Logger |
SizeBasedTriggeringPolicy.LOGGER
Allow subclasses access to the status logger without creating another instance.
|
protected static Logger |
DefaultRolloverStrategy.LOGGER
Allow subclasses access to the status logger without creating another instance.
|
protected static Logger |
AbstractRolloverStrategy.LOGGER
Allow subclasses access to the status logger without creating another instance.
|
Modifier and Type | Field and Description |
---|---|
protected static Logger |
AbstractAction.LOGGER
Allow subclasses access to the status logger without creating another instance.
|
Modifier and Type | Class and Description |
---|---|
class |
AsyncLogger
AsyncLogger is a logger designed for high throughput and low latency logging.
|
Modifier and Type | Field and Description |
---|---|
protected static Logger |
ConfigurationFactory.LOGGER
Allow subclasses access to the status logger without creating another instance.
|
protected static Logger |
LoggerConfig.LOGGER |
protected static Logger |
BaseConfiguration.LOGGER
Allow subclasses access to the status logger without creating another instance.
|
Modifier and Type | Field and Description |
---|---|
protected static Logger |
AbstractFilterable.LOGGER |
protected static Logger |
AbstractFilter.LOGGER
Allow subclasses access to the status logger without creating another instance.
|
Modifier and Type | Field and Description |
---|---|
protected static Logger |
AbstractLayout.LOGGER
Allow subclasses access to the status logger without creating another instance.
|
Modifier and Type | Field and Description |
---|---|
protected Logger |
AbstractJMSReceiver.logger
Logger to capture diagnostics.
|
protected static Logger |
MulticastDNSAdvertiser.LOGGER |
protected static Logger |
DatagramOutputStream.LOGGER
Allow subclasses access to the status logger without creating another instance.
|
Modifier and Type | Field and Description |
---|---|
protected static Logger |
AbstractPatternConverter.LOGGER
Allow subclasses access to the status logger.
|
Modifier and Type | Class and Description |
---|---|
class |
Log4jLog |
Modifier and Type | Class and Description |
---|---|
class |
SimpleLogger
This is the default logger that is used when no suitable logging implementation is available.
|
Modifier and Type | Method and Description |
---|---|
Logger |
SimpleLoggerContext.getLogger(String name) |
Logger |
SimpleLoggerContext.getLogger(String name,
MessageFactory messageFactory) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractLogger
Base implementation of a Logger.
|
class |
AbstractLoggerWrapper
Wrapper class that exposes the protected AbstractLogger methods to support wrapped loggers.
|
Modifier and Type | Method and Description |
---|---|
Logger |
LoggerContext.getLogger(String name)
Returns a Logger.
|
Logger |
LoggerContext.getLogger(String name,
MessageFactory messageFactory)
Returns a Logger.
|
Modifier and Type | Method and Description |
---|---|
static void |
AbstractLogger.checkMessageFactory(Logger logger,
MessageFactory messageFactory)
Checks that the message factory a logger was created with is the same as the given messageFactory.
|
Modifier and Type | Class and Description |
---|---|
class |
StatusLogger
Mechanism to record events that occur in the logging system.
|
Modifier and Type | Class and Description |
---|---|
class |
SLF4JLogger |
Modifier and Type | Method and Description |
---|---|
Logger |
SLF4JLoggerContext.getLogger(String name) |
Logger |
SLF4JLoggerContext.getLogger(String name,
MessageFactory messageFactory) |
Copyright © 1999-2014 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.