Java 日志组件,SLF4J 1.7.13 发布
SLF4J是为各种loging APIs提供一个简单统一的接口,从而使得最终用户能够在部署的时候配置自己希望的loging APIs实现。 Logging API实现既可以选择直接实现SLF4J接的loging APIs如: NLOG4J、SimpleLogger。也可以通过SLF4J提供的API实现来开发相应的适配器如Log4jLoggerAdapter、 JDK14LoggerAdapter。
SLF4J 1.7.13 发布,此版本主要改进内容如下:-
Fixed
LoggerFactory
initialisation problem in presence of SecurityManager denying "createSecurityManager" runtime permission. See SLF4J-324 for further details. -
Fixed issue with
BasicMDCAdapter
leaking MDC information to non-child threads. This problem was reported by Lukasz Cwik in SLF4J-316 who also provided the relavant pull request. -
More robust handling of ill-formatted input strings by SLF4JBridgeHandler. This issue was reported in SLF4J-337 by Rodolfo Udo Labsch.
-
House cleaning of our project's Maven pom.xml files, an initiative undertaken by Jeremy Landis.
-
Added
getAdditivity()
method method inCategory
class in the log4j-over-slf4j module. This addition was requested by Milo Felipe SLF4J-309 with Dimitrios Liapis providing the relavant pull request. -
Added the
assertLog(boolean, String)
method in theCategory
class, in module log4j-over-slf4j. -
In the log4j-over-slf4j module, removed misplaced Layout.java file. This issue was reported in SLF4J-218 by Joshua M Steward with Alfredo Ramos providing the relavant pull request.
下载: