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

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

jcl5j薄包装Jakarta Commons测井。

  • 资源大小:71.45 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: java logging commons-logging log5j

资 源 简 介

jcl5jis 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. jcl5j 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 jcl5j : 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! Performance

文 件 列 表

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

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP