log4j和slf4j
来源:互联网 发布:信誉好的淘宝高仿nike 编辑:程序博客网 时间:2024/06/05 19:08
You can think of slf4j as a big "interface" that needs an implementation. So, just using slf4j standalone will not get you any logging (aside from using slf4j-simple, which is a bundled mini implementation that can only log to console).
So, what can you use as an implementation? log4j is one example. Why would you want to use slf4j then? Because you can use this one interface and then swap implementations if needed.
What are the available backends that can be used?
- log4j
- java.util.logging
- commons logging
- logback
I'd suggest using Logback. It's a better log4j.
- log4j和slf4j
- log4j和slf4j整合
- slf4j和log4j配置
- log4j和slf4j
- Slf4j和Log4j
- log4j和slf4j
- log4j和slf4j
- slf4j和log4j配置
- slf4j和log4j配置
- slf4j和log4j配置
- Slf4j和Log4j
- SLF4J 和log4j
- log4j初始化和slf4j
- SLF4J和log4j
- slf4j和log4j
- log4j初始化和slf4j
- slf4j+log4j和slf4j+logback…
- log4j 和slf4j的比较
- 测试flash之小工具
- Linux C substring 子字符串
- poj 3414 Pots
- sicily--1145. 校门外的树
- 查看sql语句执行效率
- log4j和slf4j
- android 调用系统相机拍照 获取原图
- 值得思考的事(Linux)
- HTML5移动Web开发指南
- android adb 命令
- snprintf函数
- CSS中 ID和CLASS的区别
- sicily--1232. Electrical Outlets
- Android 通过Uri获取Bitmap对象