| 构造器和说明 |
|---|
Log4j2Impl(org.apache.logging.log4j.Logger log) |
Log4j2Impl(String loggerName) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.logging.log4j.Logger |
getLog() |
int |
getWarnCount() |
void |
info(String msg) |
boolean |
isDebugEnabled() |
boolean |
isInfoEnabled() |
boolean |
isWarnEnabled() |
void |
resetStat() |
String |
toString() |
void |
warn(String s) |
void |
warn(String s,
Throwable e) |
public Log4j2Impl(org.apache.logging.log4j.Logger log)
log - public Log4j2Impl(String loggerName)
public org.apache.logging.log4j.Logger getLog()
public boolean isDebugEnabled()
isDebugEnabled 在接口中 Logpublic int getWarnCount()
getWarnCount 在接口中 Logpublic int getErrorCount()
getErrorCount 在接口中 Logpublic int getDebugCount()
getDebugCount 在接口中 Logpublic boolean isInfoEnabled()
isInfoEnabled 在接口中 Logpublic boolean isWarnEnabled()
isWarnEnabled 在接口中 Logpublic int getInfoCount()
getInfoCount 在接口中 LogCopyright © 2013-2016 Alibaba Group. All Rights Reserved.