2

Which logger framework in java shall one use based on performance and consistency criterion? I need to use it in highly concurrent application and do not wish to use any log wrappers.

Please suggest based on these requirements.

-Vaibhav

4

2 回答 2

2

我推荐Logback - 作为流行的 log4j 项目的继承者。它快速、通用且可靠。

于 2010-06-10T09:15:29.143 回答
0

检查 SL4J - Java 的简单日志记录外观

http://www.slf4j.org

它很容易实现并且(来自它的页面)

SLF4J serves as a simple facade or abstraction for various logging frameworks

然后它可以与 lockback、log4j 等一起使用。

于 2012-05-11T17:26:49.013 回答