
SLF4J
The Simple Logging Facade for Java (SLF4J) serves as a simple facade or abstraction for various logging frameworks (e.g. java.util.logging, logback, log4j) allowing the end user to plug in the …
SLF4J Manual
An SLF4J provider/binding designates an artifact such as slf4j-jdk14.jar or slf4j-reload4j.jar used to bind slf4j to an underlying logging framework, say, java.util.logging and respectively reload4j.
SLF4J Documentation
Your feedback is requested on changes under consideration for SLF4J version 2.1.0.
Logger (SLF4J javadoc)
The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that logging takes place through concrete implementations of this interface.
Overview (SLF4J javadoc)
SLF4J project modules 2.0.17 All Packages SLF4J API packages slf4j-simple package slf4j-nop package slf4j-jdk14 package slf4j-reload4j package SLF4J extensions Jakarta Commons …
SLF4J FAQ
In the case of logback, the question is moot because logback exposes its logger API via SLF4J. SLF4J is only a facade, meaning that it does not provide a complete logging solution. …
Level (SLF4J javadoc)
declaration: package: org.apache.log4j, class: LevelDefines the minimum set of levels recognized by the system, that is OFF, FATAL, ERROR, WARN, INFO, DEBUG and ALL. The Level class …
SLF4J Error Codes
An SLF4J binding designates an artifact such as slf4j-jdk14.jar or slf4j-log4j12.jar used to bind slf4j to an underlying logging framework, say, java.util.logging and respectively log4j.
MDC (SLF4J javadoc)
Thus, as a SLF4J user, you can take advantage of MDC in the presence of log4j, logback, or java.util.logging, but without forcing these systems as dependencies upon your users.
LoggerFactory (SLF4J javadoc)
In case the clazz parameter differs from the name of the caller as computed internally by SLF4J, a logger name mismatch warning will be printed but only if the slf4j.detectLoggerNameMismatch …