bug fixed for Log4jImpl errorCount

This commit is contained in:
wenshao
2012-08-25 04:43:45 +08:00
parent eb67fca46e
commit 20bd593c06
@@ -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);
}