The Log4Jj2 API provides the interface that applications should code to and provides the adapter components required for implementers to create a logging implementation.
The Log4j2 API requires at least Java 5.