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 Source Code
SLF4J API is a simple API that allows to plug in any desired logging library at deployment time.
Here is the source code for SLF4J API 2.0.4. You can download its pre-compiled version slf4j-api-2.0.4.jar at SLF4J Download Website.
✍: FYIcenter.com
⏎ org/slf4j/helpers/NOP_FallbackServiceProvider.java
package org.slf4j.helpers; import org.slf4j.ILoggerFactory; import org.slf4j.IMarkerFactory; import org.slf4j.spi.MDCAdapter; import org.slf4j.spi.SLF4JServiceProvider; public class NOP_FallbackServiceProvider implements SLF4JServiceProvider { /** * Declare the version of the SLF4J API this implementation is compiled * against. The value of this field is modified with each major release. */ // to avoid constant folding by the compiler, this field must *not* be final public static String REQUESTED_API_VERSION = "2.0.99"; // !final private final ILoggerFactory loggerFactory = new NOPLoggerFactory(); private final IMarkerFactory markerFactory = new BasicMarkerFactory(); private final MDCAdapter mdcAdapter = new NOPMDCAdapter(); @Override public ILoggerFactory getLoggerFactory() { return loggerFactory; } @Override public IMarkerFactory getMarkerFactory() { return markerFactory; } @Override public MDCAdapter getMDCAdapter() { return mdcAdapter; } @Override public String getRequestedApiVersion() { return REQUESTED_API_VERSION; } @Override public void initialize() { // already initialized } }
⏎ org/slf4j/helpers/NOP_FallbackServiceProvider.java
Or download all of them as a single archive file:
File name: slf4j-api-2.0.4-sources.jar File size: 70304 bytes Release date: 2022-11-17 Download
⇒ Source Code for SLF4J Simple Logging
⇐ Downloading SLF4J Components
2020-02-13, 26767👍, 2💬
Popular Posts:
JDK 17 java.base.jmod is the JMOD file for JDK 17 Base module. JDK 17 Base module compiled class fil...
JAX-WS is an API for building web services and clients. It is the next generation Web Services API r...
commons-lang-1.0.1.jar is the JAR file for Apache Commons Lang 1.0.1, which provides a host of helpe...
How to download and install JDK (Java Development Kit) 8? If you want to write Java applications, yo...
Where to find answers to frequently asked questions on Download and Installing of Older Versions? He...