Class JakartaCommonsLoggingImpl
java.lang.Object
com.alibaba.druid.support.logging.JakartaCommonsLoggingImpl
- All Implemented Interfaces:
Log
-
Constructor Summary
ConstructorDescriptionJakartaCommonsLoggingImpl
(String loggerName) JakartaCommonsLoggingImpl
(org.apache.commons.logging.Log log) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
int
int
int
int
void
boolean
boolean
boolean
boolean
void
void
void
-
Constructor Details
-
JakartaCommonsLoggingImpl
public JakartaCommonsLoggingImpl(org.apache.commons.logging.Log log) - Parameters:
log
-- Since:
- 0.2.1
-
JakartaCommonsLoggingImpl
-
-
Method Details
-
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() -
isInfoEnabled
public boolean isInfoEnabled()- Specified by:
isInfoEnabled
in interfaceLog
-
info
-
getInfoCount
public int getInfoCount()- Specified by:
getInfoCount
in interfaceLog
-
isWarnEnabled
public boolean isWarnEnabled()- Specified by:
isWarnEnabled
in interfaceLog
-
getDebugCount
public int getDebugCount()- Specified by:
getDebugCount
in interfaceLog
-
isErrorEnabled
public boolean isErrorEnabled()- Specified by:
isErrorEnabled
in interfaceLog
-