Registry / logging / log4j-slf4j-impl

log4j-slf4j-impl

JSON →
library2.26.0javamavenunverified

Bridges SLF4J API calls to Log4j 2 Core for logging.

<dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-slf4j-impl</artifactId> <version>2.26.0</version> </dependency>
INSTALL
IMPORT
SIG · LOG4J-SLF4J-IMPL
L
log4j-slf4j-impl
loggingjavav2.26.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Logger
org.apache.logging.log4j.Logger

Minimal example using Log4j 2 Logger via SLF4J binding.

import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.LogManager; public class Example { private static final Logger logger = LogManager.getLogger(Example.class); public static void main(String[] args) { logger.info("Hello, Log4j!"); } }
Debug
Known issues
breakingEnsure no other SLF4J binding is on classpath to avoid conflicts.
fix
Exclude other SLF4J implementations (e.g., logback-classic) from dependencies.
affects: all
Upgrade
Version history
2.26.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
log4j-slf4j-impl — mvn dependency:get log4j-slf4j-impl · libregistry