The Apache Log4j binding between Log4j 2 API and SLF4J, allowing applications using Log4j 2 API to route logging to SLF4J implementations.
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-to-slf4j</artifactId>
<version>2.26.0</version>
</dependency>No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minimal example showing how to use Log4j 2 API with log4j-to-slf4j adapter.
Add a dependency like ch.qos.logback:logback-classic to your project.
No dependency data recorded yet.