Apache » Cocoon »

  Cocoon FlowScript
      1.0
   homepage

Cocoon FlowScript 1.0

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.

Errors and Improvements? If you see any errors or potential improvements in this document please help us: View, Edit or comment on the latest development version (registration required).