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:
Source Code for SLF4J Bridge to JDK
SLF4J Bridge to JDK is a binding bridge that
implements the SLF4J API with JDK logging library.
Here is the source code for SLF4J Bridge to JDK. You can download its pre-compiled version slf4j-jdk14-2.0.4.jar at SLF4J Download Website.
✍:
⏎ org/slf4j/jul/JULServiceProvider.java
package org.slf4j.jul; import org.slf4j.ILoggerFactory; import org.slf4j.IMarkerFactory; import org.slf4j.helpers.BasicMDCAdapter; import org.slf4j.helpers.BasicMarkerFactory; import org.slf4j.spi.MDCAdapter; import org.slf4j.spi.SLF4JServiceProvider; public class JULServiceProvider 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 ILoggerFactory loggerFactory; private IMarkerFactory markerFactory; private MDCAdapter mdcAdapter; @Override public ILoggerFactory getLoggerFactory() { return loggerFactory; } @Override public IMarkerFactory getMarkerFactory() { return markerFactory; } public MDCAdapter getMDCAdapter() { return mdcAdapter; } @Override public String getRequestedApiVersion() { return REQUESTED_API_VERSION; } @Override public void initialize() { loggerFactory = new JDK14LoggerFactory(); markerFactory = new BasicMarkerFactory(); mdcAdapter = new BasicMDCAdapter(); } }
⏎ org/slf4j/jul/JULServiceProvider.java
Or download all of them as a single archive file:
File name: slf4j-jdk14-2.0.4-sources.jar File size: 7561 bytes Release date: 2022-11-17 Download
⇒ Source Code for SLF4J Extensions
⇐ Source Code for SLF4J Simple Logging
2021-11-30, 1669👍, 0💬
Popular Posts:
JDK 11 jdk.compiler.jmod is the JMOD file for JDK 11 Compiler tool, which can be invoked by the "jav...
Where to find answers to frequently asked questions on Downloading and Using JDK (Java Development K...
JDK 11 jdk.jconsole.jmod is the JMOD file for JDK 11 JConsole tool, which can be invoked by the "jco...
How to read XML document with DTD validation from socket connections with the socket\DelayedInput.ja.. .
What Is jaxb-impl-2.1.12.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Jav...