哪个log4j门面可供选择? [英] Which log4j facade to choose?
本文介绍了哪个log4j门面可供选择?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
基本上我正在寻找具有与log4j相同的行为,配置和日志记录级别的东西,但有一些缺少的功能(例如格式化日志记录 - 请参阅此处和此处了解相关的SO主题。)
Essentially I'm looking for something with the same behavior, configuration, logging levels as log4j, but with some of the missing functionality (e.g. formatted logging — see here and here for related SO threads.)
推荐答案
我倾向于SLF4J。
- allows parameterized logging (formatting)
- allows consolidation of other frameworks (great for apps using many libraries, each logging to a different framework)
log5j很好,但没有接近市场渗透率。
log5j is good, but does not have near as much market penetration.
这篇关于哪个log4j门面可供选择?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文