The public API for the Apache Log4j 2 logging framework, providing logging interfaces and factories.
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</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.
Demonstrates obtaining a Logger via LogManager and logging a message.
Upgrade to version 2.17.0 or later to mitigate JNDI injection attacks.
No dependency data recorded yet.