Skip navigation links
Red Hat JBoss Enterprise Application Platform 7.4.0.GA

Package org.apache.logging.log4j

Public API for Log4j 2.

See: Description

Package org.apache.logging.log4j Description

Public API for Log4j 2.

The main entry point into Log4j is the LogManager class which can be used to obtain Logger objects, the current LoggerContext, a new LoggerContext, and the current LoggerContextFactory.

Marker objects can be obtained through the MarkerManager. The MDC (Mapped Diagnostic Context) can be used through the ThreadContext class.

See Also:
Log4j 2 API manual
Skip navigation links
Red Hat JBoss Enterprise Application Platform 7.4.0.GA

Copyright © 2021 JBoss by Red Hat. All rights reserved.