Package org.apache.axis2.util
Class OnDemandLogger
java.lang.Object
org.apache.axis2.util.OnDemandLogger
The OnDemandLogger will defer the creation of the
actual Log object until it is needed. This may be necessary
to ensure that the Log implementation is consistent with the Log
interface in the current class loader.
-
Constructor Details
-
OnDemandLogger
Create an on-demand logger for the given class.- Parameters:
c-
-
-
Method Details
-
resetLog
public void resetLog()reset the Log object to force a reload -
hasLog
public boolean hasLog()- Returns:
- true if Log is set
-
debug
-
debug
-
error
-
error
-
fatal
-
fatal
-
info
-
info
-
isDebugEnabled
public boolean isDebugEnabled() -
isErrorEnabled
public boolean isErrorEnabled() -
isFatalEnabled
public boolean isFatalEnabled() -
isInfoEnabled
public boolean isInfoEnabled() -
isTraceEnabled
public boolean isTraceEnabled() -
isWarnEnabled
public boolean isWarnEnabled() -
trace
-
trace
-
warn
-
warn
-