Class Log4jImpl
java.lang.Object
com.alibaba.druid.support.logging.Log4jImpl
- All Implemented Interfaces:
Log
-
Constructor Details
-
Log4jImpl
public Log4jImpl(org.apache.log4j.Logger log) - Parameters:
log
-- Since:
- 0.2.21
-
Log4jImpl
-
-
Method Details
-
getLog
public org.apache.log4j.Logger getLog() -
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabled
in interfaceLog
-
error
-
error
-
debug
-
debug
-
warn
-
warn
-
getWarnCount
public int getWarnCount()- Specified by:
getWarnCount
in interfaceLog
-
getErrorCount
public int getErrorCount()- Specified by:
getErrorCount
in interfaceLog
-
resetStat
public void resetStat() -
getDebugCount
public int getDebugCount()- Specified by:
getDebugCount
in interfaceLog
-
isInfoEnabled
public boolean isInfoEnabled()- Specified by:
isInfoEnabled
in interfaceLog
-
info
-
isWarnEnabled
public boolean isWarnEnabled()- Specified by:
isWarnEnabled
in interfaceLog
-
isErrorEnabled
public boolean isErrorEnabled()- Specified by:
isErrorEnabled
in interfaceLog
-
getInfoCount
public int getInfoCount()- Specified by:
getInfoCount
in interfaceLog
-
toString
-