| Constructor and Description |
|---|
Log4j2Impl(org.apache.logging.log4j.Logger log) |
Log4j2Impl(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.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 in interface Logpublic int getWarnCount()
public int getErrorCount()
public void resetStat()
public int getDebugCount()
public boolean isInfoEnabled()
isInfoEnabled in interface Logpublic boolean isWarnEnabled()
isWarnEnabled in interface Logpublic int getInfoCount()
Copyright © 2017. All rights reserved.