Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
Collections:
Other Resources:
SLF4J 1.7.31 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 1.7.31. You can download its pre-compiled version slf4j-api-1.7.31.jar at SLF4J Download Website.
✍: FYIcenter.com
⏎ org/slf4j/event/Level.java
package org.slf4j.event;
import static org.slf4j.event.EventConstants.DEBUG_INT;
import static org.slf4j.event.EventConstants.ERROR_INT;
import static org.slf4j.event.EventConstants.INFO_INT;
import static org.slf4j.event.EventConstants.TRACE_INT;
import static org.slf4j.event.EventConstants.WARN_INT;
/**
*
* @author ceki
* @since 1.7.15
*/
public enum Level {
ERROR(ERROR_INT, "ERROR"), WARN(WARN_INT, "WARN"), INFO(INFO_INT, "INFO"), DEBUG(DEBUG_INT, "DEBUG"), TRACE(TRACE_INT, "TRACE");
private int levelInt;
private String levelStr;
Level(int i, String s) {
levelInt = i;
levelStr = s;
}
public int toInt() {
return levelInt;
}
/**
* Returns the string representation of this Level.
*/
public String toString() {
return levelStr;
}
}
⏎ org/slf4j/event/Level.java
Or download all of them as a single archive file:
File name: slf4j-api-1.7.31-sources.jar File size: 58728 bytes Release date: 2021-06-17 Download
⇒ Source Code for SLF4J 1.7.31 Simple Logging
⇐ Source Code for SLF4J Migrator
2023-03-07, ≈10🔥, 0💬
Popular Posts:
JDK 11 jdk.internal.opt.jmod is the JMOD file for JDK 11 Internal Opt module. JDK 11 Internal Opt mo...
Where to get the Java source code for Connector/J 8.0 Core Impl module? Java source code files for C...
Where to get the Java source code for Connector/J 8.0 Protocol Impl module? Java source code files f...
JDK 11 jdk.javadoc.jmod is the JMOD file for JDK 11 Java Document tool, which can be invoked by the ...
Where to get the Java source code for Connector/J 8.0 Core API module? Java source code files for Co...