首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > comlogging5j薄包装Jakarta Commons测井。

comlogging5j薄包装Jakarta Commons测井。

资 源 简 介

comlogging5j is thin wrapper of Jakarta Commons-Logging for Java5 or above. This project is inspired by log5j. Usage First. It is no long required to give Commons-Logging the category when creating a new class level log. comlogging5j just figures it out from the call stack. For example old usage for Commons-Logging was: private static final Log log = LogFactory.getLog( Foo.class ); and the new syntax with comlogging5j : private static final Log log = LogFactory.getLog(); Much better and fixes a lot of copy/paste errors. Second. It provides sprintf support for logging messages Before: log.debug( "This thing broke: " + foo + " due to bar: " + bar + " on this thing: " + car ); After: log.debug( "This thing broke: %s due to bar: %s on this thing: %s", foo, bar, car ); That is so much better. Good god! <

文 件 列 表

comlogging5j-0.2
javadoc
lib
src
build.xml
comlogging5j-0.2.jar

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP