You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by da...@cocoon.zones.apache.org on 2007/06/07 18:57:05 UTC
[DAISY] Created: Log Object
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