| Constructor and Description |
|---|
Log4jImpl(org.apache.log4j.Logger log) |
Log4jImpl(String loggerName) |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(String s) |
void |
debug(String s,
Throwable e) |
void |
error(String s) |
void |
error(String s,
Throwable e) |
int |
getDebugCount() |
int |
getErrorCount() |
int |
getInfoCount() |
org.apache.log4j.Logger |
getLog() |
int |
getWarnCount() |
void |
info(String msg) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isWarnEnabled() |
void |
resetStat() |
String |
toString() |
void |
warn(String s) |
void |
warn(String s,
Throwable e) |
public Log4jImpl(org.apache.log4j.Logger log)
log - public Log4jImpl(String loggerName)
public org.apache.log4j.Logger getLog()
public boolean isDebugEnabled()
isDebugEnabled in interface Logpublic int getWarnCount()
getWarnCount in interface Logpublic int getErrorCount()
getErrorCount in interface Logpublic int getDebugCount()
getDebugCount in interface Logpublic boolean isInfoEnabled()
isInfoEnabled in interface Logpublic boolean isWarnEnabled()
isWarnEnabled in interface Logpublic boolean isErrorEnabled()
isErrorEnabled in interface Logpublic int getInfoCount()
getInfoCount in interface LogCopyright © 2013–2018 Alibaba Group. All rights reserved.