构造器和说明 |
---|
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
在接口中 Log
public int getWarnCount()
getWarnCount
在接口中 Log
public int getErrorCount()
getErrorCount
在接口中 Log
public int getDebugCount()
getDebugCount
在接口中 Log
public boolean isInfoEnabled()
isInfoEnabled
在接口中 Log
public boolean isWarnEnabled()
isWarnEnabled
在接口中 Log
public int getInfoCount()
getInfoCount
在接口中 Log
Copyright © 2013-2015 Alibaba Group. All Rights Reserved.