log layouts
打log时需要打印一些调试用的信息,故对log的layouts设置很重要,这里汇总下log4J 和logback的2个参数说明页面
1:LogBack
http://logback.qos.ch/manual/layouts.html
2:log4j
http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html
打log时需要打印一些调试用的信息,故对log的layouts设置很重要,这里汇总下log4J 和logback的2个参数说明页面
1:LogBack
http://logback.qos.ch/manual/layouts.html
2:log4j
http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html
暂无评论。
评论功能维护中,当前仅展示历史评论。