Package | Description |
---|---|
org.apache.log4j |
Log4j 1.x compatibility layer.
|
org.apache.log4j.bridge | |
org.apache.log4j.spi |
Log4j 1.x compatibility layer.
|
Modifier and Type | Class and Description |
---|---|
class |
Logger |
Modifier and Type | Field and Description |
---|---|
protected Category |
Category.parent
The parent of this category.
|
Modifier and Type | Method and Description |
---|---|
static Category |
Category.getInstance(Class clazz) |
static Category |
Category.getInstance(String name) |
Category |
Category.getParent() |
static Category |
Category.getRoot() |
Modifier and Type | Method and Description |
---|---|
void |
Hierarchy.emitNoAppenderWarning(Category cat) |
void |
Hierarchy.fireAddAppenderEvent(Category logger,
Appender appender) |
Modifier and Type | Method and Description |
---|---|
Category |
LogEventAdapter.getLogger()
Gets the logger of the event.
|
Modifier and Type | Class and Description |
---|---|
class |
NOPLogger
No-operation implementation of Logger used by NOPLoggerRepository.
|
class |
RootLogger
RootLogger sits at the top of the logger hierarchy.
|
Modifier and Type | Method and Description |
---|---|
Category |
LoggingEvent.getLogger()
Gets the logger of the event.
|
Modifier and Type | Method and Description |
---|---|
void |
HierarchyEventListener.addAppenderEvent(Category cat,
Appender appender) |
void |
LoggerRepository.emitNoAppenderWarning(Category cat) |
void |
NOPLoggerRepository.emitNoAppenderWarning(Category cat) |
void |
LoggerRepository.fireAddAppenderEvent(Category logger,
Appender appender) |
void |
NOPLoggerRepository.fireAddAppenderEvent(Category logger,
Appender appender) |
void |
HierarchyEventListener.removeAppenderEvent(Category cat,
Appender appender) |
Constructor and Description |
---|
LoggingEvent(String fqnOfCategoryClass,
Category logger,
long timeStamp,
Level level,
Object message,
String threadName,
ThrowableInformation throwable,
String ndc,
LocationInfo info,
Map properties)
Create new instance.
|
LoggingEvent(String fqnOfCategoryClass,
Category logger,
long timeStamp,
Priority level,
Object message,
Throwable throwable)
Instantiate a LoggingEvent from the supplied parameters.
|
LoggingEvent(String fqnOfCategoryClass,
Category logger,
Priority level,
Object message,
Throwable throwable)
Instantiate a LoggingEvent from the supplied parameters.
|
ThrowableInformation(Throwable throwable,
Category category)
Constructs a new instance.
|
Copyright © 1999-2023 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.