Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
SLF4J API Binding to Logging Libraries
How to bind SLF4J API to different Logging Libraries?
✍: Guest
Since SLF4J only provides an abstract logging API, it must be used together with a specific logging library like Log4J Logging framework.
Here are some options on how to bind SLF4J API to different logging libraries.
1. SLF4J API + No logging - Application uses slf4j-api.jar only. Logging messages goes nowhere.
2. SLF4J API + Logback logging - Application uses slf4j-api.jar, logback-classic.jar and logback-core.jar.
3. SLF4J API + Log4J logging - Application uses slf4j-api.jar, slf4j-log4j.jar, and log4j.jar.
4. SLF4J API + JDK logging - Application uses slf4j-api.jar and slf4j-jdk.jar.
5. SLF4J API + Simple logging - Application uses slf4j-api.jar, and slf4j-simple.jar.
6. SLF4J API + NOP (No Operation) logging - Application uses slf4j-api.jar, and slf4j-nop.jar.
⇒ Downloading SLF4J Components
2021-11-13, 584🔥, 0💬
Popular Posts:
What Is ojdbc7.jar for Oracle 12c R1? ojdbc7.jar for Oracle 12c R1 is the JAR files of ojdbc.jar, JD...
The JDT project provides the tool plug-ins that implement a Java IDE supporting the development of a...
commons-lang-1.0.1.jar is the JAR file for Apache Commons Lang 1.0.1, which provides a host of helpe...
JDK 11 jdk.jfr.jmod is the JMOD file for JDK 11 JFR module. JDK 11 JFR module compiled class files a...
JDK 11 jdk.internal.JVM Stat.jmod is the JMOD file for JDK 11 Internal Jvmstat module. JDK 11 Intern...