Which log4j facade to choose?

五迷三道 提交于 2019-12-05 16:07:55

I'm inclined toward SLF4J.

log5j is good, but does not have near as much market penetration.

since a lot of frameworks already support slf4j you will only have to setup your logging once with slf4j.

i use slf4j and it is super-easy to read + use.

Huxi

I'd also suggest SLF4J, ideally with Logback. Take a look at What’s Up with Logging in Java? and Find a way in the java logging frameworks scene., too.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!