" >
站内搜索: 请输入搜索关键词

当前页面: 开发资料首页业界新闻Simple Logging Facade for Java 1.0 发布

Simple Logging Facade for Java 1.0 发布

摘要: Simple Logging Facade for Java 终于发布了1.0 的final版本。SLF4J 意在为不同的logging API提供一个简单的facade,从而最终用户根据部署的需要进行相关的实现。
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.
↑返回目录
前一篇: Apache WS Policy implementation 0.90 发布
后一篇: Simple Persistence for Java 1.1.0 发布