文章详情页
Simple Logging Facade for Java 1.0 发布
浏览:298日期:2024-03-10 11:48:35
Simple Logging Facade for Java 终于发布了1.0 的final版本。SLF4J 意在为不同的logging API提供一个简单的facade,从而最终用户根据部署的需要进行相关的实现。用户可以直接实现 SLF4J 的接口,比如 NLOG4J 或者 SimpleLogger都是这么作的,或者我们为指定的接口实现相关的SLF4J 适配器,比如Log4jLoggerAdapter 和 JDK14LoggerAdapter。官方提到:SLF4J does not rely on any special class loader machinery. In fact, the binding between SLF4J and a given logging API implementation is performed statically at compile time. Each binding is hardwired to use one and only specific logging API implementation. Thus, SLF4J suffers from none of the class loader problems or memory leaks observed with other approaches.
标签:
Java
相关文章:
1. IntelliJ IDEA 2021.1 EAP 1 发布支持 Java 16 和 WSL 22. 基于python实现MQTT发布订阅过程原理解析3. Java Test Runner 3.1 发布4. Spring IDE 1.2.4发布5. FireStorm/DAO 3.0 发布-Java源码生成工具6. Java图形调试器 JSwat 3.2 发布7. SpringBoot+slf4j实现全链路调用日志跟踪的方法(一)8. Sun 公司发布Java API文档中文版9. 阿里云发布 Spring Boot 新脚手架工程10. ASP.NET Core 7 Razor Pages项目发布到IIS的详细过程
排行榜

网公网安备