Log Object
The Log object provides an interface to the Cocoon logging system.
It supports the following functions:
error
Function error([String] message, [java.lang.Throwable] exception)
Log an error message. If exception is provided its stack trace will also be logged.
debug
Function debug([String] message, [java.lang.Throwable] exception)
Log a debug message. If exception is provided its stack trace will also be logged.
warn
Function warn([String] message, [java.lang.Throwable] exception)
Log a warning message. If exception is provided its stack trace will also be logged.
info
Function info([String] message, [java.lang.Throwable] exception)
Log an information message. If exception is provided its stack trace will also be logged.
isErrorEnabled
Function [Boolean] isErrorEnabled()
Returns whether error message logging is enabled.
isDebugEnabled
Function [Boolean] isDebugEnabled()
Returns whether debug message logging is enabled.
isWarnEnabled
Function [Boolean] isWarnEnabled()
Returns whether warning message logging is enabled.
isInfoEnabled
Function [Boolean] isInfoEnabled()
Returns whether information message logging is enabled.