cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Created: Log Object
Date Thu, 07 Jun 2007 16:57:05 GMT
A new document has been created.

http://cocoon.zones.apache.org/daisy/documentation/1388.html

Document ID: 1388
Branch: main
Language: default
Name: Log Object
Document Type: Cocoon Document
Created: 6/7/07 4:56:54 PM
Creator (owner): Reinhard Pötz
State: publish

Parts
=====

Content
-------
Mime type: text/xml
Size: 1582 bytes
Content:
<html>
<body>

<p>The <tt>Log</tt> object provides an interface to the Cocoon logging system.
</p>

<p>It supports the following functions:</p>

<h3>error</h3>

<p><em>Function</em> <tt>error([String] message, [java.lang.Throwable]
exception)</tt></p>

<p>Log an error message. If <tt>exception</tt> is provided its stack trace
will
also be logged.</p>

<h3>debug</h3>

<p><em>Function</em> <tt>debug([String] message, [java.lang.Throwable]
exception)</tt></p>

<p>Log a debug message. If <tt>exception</tt> is provided its stack trace
will
also be logged.</p>

<h3>warn</h3>

<p><em>Function</em> <tt>warn([String] message, [java.lang.Throwable]
exception)</tt></p>

<p>Log a warning message. If <tt>exception</tt> is provided its stack trace
will
also be logged.</p>

<h3>info</h3>

<p><em>Function</em> <tt>info([String] message, [java.lang.Throwable]
exception)</tt></p>

<p>Log an information message. If <tt>exception</tt> is provided its stack
trace
will also be logged.</p>

<h3>isErrorEnabled</h3>

<p><em>Function</em> <tt>[Boolean] isErrorEnabled()</tt></p>

<p>Returns whether error message logging is enabled.</p>

<h3>isDebugEnabled</h3>

<p><em>Function</em> <tt>[Boolean] isDebugEnabled()</tt></p>

<p>Returns whether debug message logging is enabled.</p>

<h3>isWarnEnabled</h3>

<p><em>Function</em> <tt>[Boolean] isWarnEnabled()</tt></p>

<p>Returns whether warning message logging is enabled.</p>

<h3>isInfoEnabled</h3>

<p><em>Function</em> <tt>[Boolean] isInfoEnabled()</tt></p>

<p>Returns whether information message logging is enabled.</p>

</body>
</html>

Collections
===========
The document belongs to the following collections: cdocs-flowscript

Mime
View raw message