Merge pull request #41 from wenshao/master

Log4jImpl增加errorCount计数器
This commit is contained in:
温高铁
2012-08-24 13:44:44 -07:00
@@ -37,10 +37,12 @@ public class Log4jImpl implements Log {
}
public void error(String s, Throwable e) {
errorCount++;
log.log(callerFQCN, Level.ERROR, s, e);
}
public void error(String s) {
errorCount++;
log.log(callerFQCN, Level.ERROR, s, null);
}