The main entry point into Log4j is the org. class which can be used to
obtain org. objects, the current
org., a new LoggerContext, and the current
org..
org. objects can be obtained through the
org.. The MDC (Mapped Diagnostic Context) can be
used through the org. class.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | BridgeAware
Extended interface to allow bridges between logging systems to convey the correct location information. |
| public interface | LogBuilder
Interface for constructing log events before logging them. |
| public interface | Logger
This is the central interface in the log4j package. |
| public interface | Marker
Markers are objects that are used to add easily filterable information to log messages. |
| Modifier and Type | Class and Description |
|---|---|
| public class | CloseableThreadContext
Adds entries to the |
| public class | EventLogger
Logs "Events" that are represented as |
| public class | Level
Levels used for identifying the severity of an event. |
| public class | LoggingException
Exception thrown when an error occurs while logging. |
| public class | LogManager
The anchor point for the Log4j logging system. |
| public class | MarkerManager
Applications create Markers by using the Marker Manager. |
| public class | ThreadContext
The ThreadContext allows applications to store information either in a Map or a Stack. |