Package org.apache.bsf
Class BSF_Log
java.lang.Object
org.apache.bsf.BSF_Log
This class is used in BSF for logging (a delegator for org.apache.commons.logging,
which is needed for compilation) using the
org.apache.commons.logging.Log
methods.
Therefore this class implements all the org.apache.commons.logging.Log
methods. If org.apache.commons.logging.LogFactory is available, then this
class is used to get an org.apache.commons.logging.Log instance to which to
forward the message.
Therefore, if Apache's common logging is available, then it is employed.
If Apache's commons logging is not available then a no-op behaviour
is employed, modelled after org.apache.commons.logging.impl.NoOpLog.- Author:
- Rony G. Flatscher, 2006-12-08
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidbooleanbooleanbooleanbooleanbooleanbooleanstatic voidvoidvoidvoidvoid
-
Constructor Details
-
BSF_Log
public BSF_Log() -
BSF_Log
-
BSF_Log
-
-
Method Details
-
debug
-
debug
-
error
-
error
-
fatal
-
fatal
-
info
-
info
-
trace
-
trace
-
warn
-
warn
-
isDebugEnabled
public boolean isDebugEnabled() -
isErrorEnabled
public boolean isErrorEnabled() -
isFatalEnabled
public boolean isFatalEnabled() -
isInfoEnabled
public boolean isInfoEnabled() -
isTraceEnabled
public boolean isTraceEnabled() -
isWarnEnabled
public boolean isWarnEnabled() -
main
-