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 Log
public int getWarnCount()
getWarnCount
in interface Log
public int getErrorCount()
getErrorCount
in interface Log
public int getDebugCount()
getDebugCount
in interface Log
public boolean isInfoEnabled()
isInfoEnabled
in interface Log
public boolean isWarnEnabled()
isWarnEnabled
in interface Log
public boolean isErrorEnabled()
isErrorEnabled
in interface Log
public int getInfoCount()
getInfoCount
in interface Log
Copyright © 2013–2017 Alibaba Group. All rights reserved.