<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<!--NewPage--> | |
<HTML> | |
<HEAD> | |
<!-- Generated by javadoc (build 1.5.0_14) on Mon Apr 26 10:16:14 PDT 2010 --> | |
<TITLE> | |
LogChuteCommonsLog (VelocityTools 2.0 Documentation) | |
</TITLE> | |
<META NAME="keywords" CONTENT="org.apache.velocity.tools.generic.log.LogChuteCommonsLog class"> | |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> | |
<SCRIPT type="text/javascript"> | |
function windowTitle() | |
{ | |
parent.document.title="LogChuteCommonsLog (VelocityTools 2.0 Documentation)"; | |
} | |
</SCRIPT> | |
<NOSCRIPT> | |
</NOSCRIPT> | |
</HEAD> | |
<BODY BGCOLOR="white" onload="windowTitle();"> | |
<!-- ========= START OF TOP NAVBAR ======= --> | |
<A NAME="navbar_top"><!-- --></A> | |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_top_firstrow"><!-- --></A> | |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
<TR ALIGN="center" VALIGN="top"> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | |
</TR> | |
</TABLE> | |
</TD> | |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | |
</EM> | |
</TD> | |
</TR> | |
<TR> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../../org/apache/velocity/tools/generic/log/CommonsLogLogSystem.html" title="class in org.apache.velocity.tools.generic.log"><B>PREV CLASS</B></A> | |
<A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogSystemCommonsLog.html" title="class in org.apache.velocity.tools.generic.log"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../../index.html?org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="LogChuteCommonsLog.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_top"></A> | |
<!-- ========= END OF TOP NAVBAR ========= --> | |
<HR> | |
<!-- ======== START OF CLASS DATA ======== --> | |
<H2> | |
<FONT SIZE="-1"> | |
org.apache.velocity.tools.generic.log</FONT> | |
<BR> | |
Class LogChuteCommonsLog</H2> | |
<PRE> | |
java.lang.Object | |
<IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.velocity.tools.generic.log.LogChuteCommonsLog</B> | |
</PRE> | |
<DL> | |
<DT><B>All Implemented Interfaces:</B> <DD>org.apache.commons.logging.Log</DD> | |
</DL> | |
<DL> | |
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogSystemCommonsLog.html" title="class in org.apache.velocity.tools.generic.log">LogSystemCommonsLog</A></DD> | |
</DL> | |
<HR> | |
<DL> | |
<DT><PRE>public class <B>LogChuteCommonsLog</B><DT>extends java.lang.Object<DT>implements org.apache.commons.logging.Log</DL> | |
</PRE> | |
<P> | |
Redirects commons-logging messages to Velocity's configured LogChute. | |
<p>To use, specify this class in your commons-logging.properties: | |
<pre><code> | |
org.apache.commons.logging.Log=org.apache.velocity.tools.generic.log.LogChuteCommonsLog | |
</code></pre> | |
</p> | |
<P> | |
<P> | |
<DL> | |
<DT><B>Since:</B></DT> | |
<DD>VelocityTools 2.0</DD> | |
<DT><B>Version:</B></DT> | |
<DD>$Id: LogChuteCommonsLog.java 72115 2004-11-11 07:00:54Z nbubna $</DD> | |
</DL> | |
<HR> | |
<P> | |
<!-- =========== FIELD SUMMARY =========== --> | |
<A NAME="field_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Field Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#category">category</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private static org.apache.velocity.runtime.log.Log</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#target">target</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> | |
<A NAME="constructor_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Constructor Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#LogChuteCommonsLog()">LogChuteCommonsLog</A></B>()</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#LogChuteCommonsLog(java.lang.String)">LogChuteCommonsLog</A></B>(java.lang.String category)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ========== METHOD SUMMARY =========== --> | |
<A NAME="method_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Method Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#debug(java.lang.Object)">debug</A></B>(java.lang.Object message)</CODE> | |
<BR> | |
Passes messages to Velocity's LogChute at "DEBUG" level.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#debug(java.lang.Object, java.lang.Throwable)">debug</A></B>(java.lang.Object message, | |
java.lang.Throwable t)</CODE> | |
<BR> | |
Passes messages to Velocity's LogChute at "DEBUG" level.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#error(java.lang.Object)">error</A></B>(java.lang.Object message)</CODE> | |
<BR> | |
Passes messages to Velocity's LogChute at "ERROR" level.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#error(java.lang.Object, java.lang.Throwable)">error</A></B>(java.lang.Object message, | |
java.lang.Throwable t)</CODE> | |
<BR> | |
Passes messages to Velocity's LogChute at "ERROR" level.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#fatal(java.lang.Object)">fatal</A></B>(java.lang.Object message)</CODE> | |
<BR> | |
Passes messages to Velocity's LogChute at "ERROR" level.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#fatal(java.lang.Object, java.lang.Throwable)">fatal</A></B>(java.lang.Object message, | |
java.lang.Throwable t)</CODE> | |
<BR> | |
Passes messages to Velocity's LogChute at "ERROR" level.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected org.apache.velocity.runtime.log.Log</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#getTarget()">getTarget</A></B>()</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected static org.apache.velocity.runtime.log.Log</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#getVelocityLog()">getVelocityLog</A></B>()</CODE> | |
<BR> | |
Allow subclasses to statically access the static target.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#info(java.lang.Object)">info</A></B>(java.lang.Object message)</CODE> | |
<BR> | |
Passes messages to Velocity's LogChute at "INFO" level.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#info(java.lang.Object, java.lang.Throwable)">info</A></B>(java.lang.Object message, | |
java.lang.Throwable t)</CODE> | |
<BR> | |
Passes messages to Velocity's LogChute at "INFO" level.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#isDebugEnabled()">isDebugEnabled</A></B>()</CODE> | |
<BR> | |
Returns true if Velocity's LogChute returns true | |
for isDebugEnabled().</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#isErrorEnabled()">isErrorEnabled</A></B>()</CODE> | |
<BR> | |
Returns true if Velocity's LogChute returns true | |
for isErrorEnabled().</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#isFatalEnabled()">isFatalEnabled</A></B>()</CODE> | |
<BR> | |
Returns true if isErrorEnabled() returns true, since | |
Velocity's LogChute doesn't support this level.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#isInfoEnabled()">isInfoEnabled</A></B>()</CODE> | |
<BR> | |
Returns true if Velocity's LogChute returns true | |
for isInfoEnabled().</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#isTraceEnabled()">isTraceEnabled</A></B>()</CODE> | |
<BR> | |
Returns true if Velocity's LogChute returns true | |
for isTraceEnabled().</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#isWarnEnabled()">isWarnEnabled</A></B>()</CODE> | |
<BR> | |
Returns true if Velocity's LogChute returns true | |
for isWarnEnabled().</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#setVelocityLog(org.apache.velocity.runtime.log.Log)">setVelocityLog</A></B>(org.apache.velocity.runtime.log.Log target)</CODE> | |
<BR> | |
Set a VelocityEngine to handle all the log messages.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#trace(java.lang.Object)">trace</A></B>(java.lang.Object message)</CODE> | |
<BR> | |
Passes messages to Velocity's LogChute at "DEBUG" level.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#trace(java.lang.Object, java.lang.Throwable)">trace</A></B>(java.lang.Object message, | |
java.lang.Throwable t)</CODE> | |
<BR> | |
Passes messages to Velocity's LogChute at "DEBUG" level.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#warn(java.lang.Object)">warn</A></B>(java.lang.Object message)</CODE> | |
<BR> | |
Passes messages to Velocity's LogChute at "WARN" level.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html#warn(java.lang.Object, java.lang.Throwable)">warn</A></B>(java.lang.Object message, | |
java.lang.Throwable t)</CODE> | |
<BR> | |
Passes messages to Velocity's LogChute at "WARN" level.</TD> | |
</TR> | |
</TABLE> | |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> | |
</TR> | |
</TABLE> | |
| |
<P> | |
<!-- ============ FIELD DETAIL =========== --> | |
<A NAME="field_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Field Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="target"><!-- --></A><H3> | |
target</H3> | |
<PRE> | |
private static org.apache.velocity.runtime.log.Log <B>target</B></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="category"><!-- --></A><H3> | |
category</H3> | |
<PRE> | |
private java.lang.String <B>category</B></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<!-- ========= CONSTRUCTOR DETAIL ======== --> | |
<A NAME="constructor_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Constructor Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="LogChuteCommonsLog()"><!-- --></A><H3> | |
LogChuteCommonsLog</H3> | |
<PRE> | |
public <B>LogChuteCommonsLog</B>()</PRE> | |
<DL> | |
</DL> | |
<HR> | |
<A NAME="LogChuteCommonsLog(java.lang.String)"><!-- --></A><H3> | |
LogChuteCommonsLog</H3> | |
<PRE> | |
public <B>LogChuteCommonsLog</B>(java.lang.String category)</PRE> | |
<DL> | |
</DL> | |
<!-- ============ METHOD DETAIL ========== --> | |
<A NAME="method_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Method Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="getVelocityLog()"><!-- --></A><H3> | |
getVelocityLog</H3> | |
<PRE> | |
protected static org.apache.velocity.runtime.log.Log <B>getVelocityLog</B>()</PRE> | |
<DL> | |
<DD>Allow subclasses to statically access the static target. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setVelocityLog(org.apache.velocity.runtime.log.Log)"><!-- --></A><H3> | |
setVelocityLog</H3> | |
<PRE> | |
public static void <B>setVelocityLog</B>(org.apache.velocity.runtime.log.Log target)</PRE> | |
<DL> | |
<DD>Set a VelocityEngine to handle all the log messages. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getTarget()"><!-- --></A><H3> | |
getTarget</H3> | |
<PRE> | |
protected org.apache.velocity.runtime.log.Log <B>getTarget</B>()</PRE> | |
<DL> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="trace(java.lang.Object)"><!-- --></A><H3> | |
trace</H3> | |
<PRE> | |
public void <B>trace</B>(java.lang.Object message)</PRE> | |
<DL> | |
<DD>Passes messages to Velocity's LogChute at "DEBUG" level. | |
(it's the lowest available. sorry.) | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>trace</CODE> in interface <CODE>org.apache.commons.logging.Log</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="trace(java.lang.Object, java.lang.Throwable)"><!-- --></A><H3> | |
trace</H3> | |
<PRE> | |
public void <B>trace</B>(java.lang.Object message, | |
java.lang.Throwable t)</PRE> | |
<DL> | |
<DD>Passes messages to Velocity's LogChute at "DEBUG" level. | |
(it's the lowest available. sorry.) | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>trace</CODE> in interface <CODE>org.apache.commons.logging.Log</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="debug(java.lang.Object)"><!-- --></A><H3> | |
debug</H3> | |
<PRE> | |
public void <B>debug</B>(java.lang.Object message)</PRE> | |
<DL> | |
<DD>Passes messages to Velocity's LogChute at "DEBUG" level. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>debug</CODE> in interface <CODE>org.apache.commons.logging.Log</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="debug(java.lang.Object, java.lang.Throwable)"><!-- --></A><H3> | |
debug</H3> | |
<PRE> | |
public void <B>debug</B>(java.lang.Object message, | |
java.lang.Throwable t)</PRE> | |
<DL> | |
<DD>Passes messages to Velocity's LogChute at "DEBUG" level. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>debug</CODE> in interface <CODE>org.apache.commons.logging.Log</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="info(java.lang.Object)"><!-- --></A><H3> | |
info</H3> | |
<PRE> | |
public void <B>info</B>(java.lang.Object message)</PRE> | |
<DL> | |
<DD>Passes messages to Velocity's LogChute at "INFO" level. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>info</CODE> in interface <CODE>org.apache.commons.logging.Log</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="info(java.lang.Object, java.lang.Throwable)"><!-- --></A><H3> | |
info</H3> | |
<PRE> | |
public void <B>info</B>(java.lang.Object message, | |
java.lang.Throwable t)</PRE> | |
<DL> | |
<DD>Passes messages to Velocity's LogChute at "INFO" level. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>info</CODE> in interface <CODE>org.apache.commons.logging.Log</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="warn(java.lang.Object)"><!-- --></A><H3> | |
warn</H3> | |
<PRE> | |
public void <B>warn</B>(java.lang.Object message)</PRE> | |
<DL> | |
<DD>Passes messages to Velocity's LogChute at "WARN" level. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>warn</CODE> in interface <CODE>org.apache.commons.logging.Log</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="warn(java.lang.Object, java.lang.Throwable)"><!-- --></A><H3> | |
warn</H3> | |
<PRE> | |
public void <B>warn</B>(java.lang.Object message, | |
java.lang.Throwable t)</PRE> | |
<DL> | |
<DD>Passes messages to Velocity's LogChute at "WARN" level. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>warn</CODE> in interface <CODE>org.apache.commons.logging.Log</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="error(java.lang.Object)"><!-- --></A><H3> | |
error</H3> | |
<PRE> | |
public void <B>error</B>(java.lang.Object message)</PRE> | |
<DL> | |
<DD>Passes messages to Velocity's LogChute at "ERROR" level. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>error</CODE> in interface <CODE>org.apache.commons.logging.Log</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="error(java.lang.Object, java.lang.Throwable)"><!-- --></A><H3> | |
error</H3> | |
<PRE> | |
public void <B>error</B>(java.lang.Object message, | |
java.lang.Throwable t)</PRE> | |
<DL> | |
<DD>Passes messages to Velocity's LogChute at "ERROR" level. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>error</CODE> in interface <CODE>org.apache.commons.logging.Log</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="fatal(java.lang.Object)"><!-- --></A><H3> | |
fatal</H3> | |
<PRE> | |
public void <B>fatal</B>(java.lang.Object message)</PRE> | |
<DL> | |
<DD>Passes messages to Velocity's LogChute at "ERROR" level. | |
(it's the highest available. sorry.) | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>fatal</CODE> in interface <CODE>org.apache.commons.logging.Log</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="fatal(java.lang.Object, java.lang.Throwable)"><!-- --></A><H3> | |
fatal</H3> | |
<PRE> | |
public void <B>fatal</B>(java.lang.Object message, | |
java.lang.Throwable t)</PRE> | |
<DL> | |
<DD>Passes messages to Velocity's LogChute at "ERROR" level. | |
(it's the highest available. sorry.) | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>fatal</CODE> in interface <CODE>org.apache.commons.logging.Log</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="isTraceEnabled()"><!-- --></A><H3> | |
isTraceEnabled</H3> | |
<PRE> | |
public boolean <B>isTraceEnabled</B>()</PRE> | |
<DL> | |
<DD>Returns true if Velocity's LogChute returns true | |
for isTraceEnabled(). | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>isTraceEnabled</CODE> in interface <CODE>org.apache.commons.logging.Log</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="isDebugEnabled()"><!-- --></A><H3> | |
isDebugEnabled</H3> | |
<PRE> | |
public boolean <B>isDebugEnabled</B>()</PRE> | |
<DL> | |
<DD>Returns true if Velocity's LogChute returns true | |
for isDebugEnabled(). | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>isDebugEnabled</CODE> in interface <CODE>org.apache.commons.logging.Log</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="isInfoEnabled()"><!-- --></A><H3> | |
isInfoEnabled</H3> | |
<PRE> | |
public boolean <B>isInfoEnabled</B>()</PRE> | |
<DL> | |
<DD>Returns true if Velocity's LogChute returns true | |
for isInfoEnabled(). | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>isInfoEnabled</CODE> in interface <CODE>org.apache.commons.logging.Log</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="isWarnEnabled()"><!-- --></A><H3> | |
isWarnEnabled</H3> | |
<PRE> | |
public boolean <B>isWarnEnabled</B>()</PRE> | |
<DL> | |
<DD>Returns true if Velocity's LogChute returns true | |
for isWarnEnabled(). | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>isWarnEnabled</CODE> in interface <CODE>org.apache.commons.logging.Log</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="isErrorEnabled()"><!-- --></A><H3> | |
isErrorEnabled</H3> | |
<PRE> | |
public boolean <B>isErrorEnabled</B>()</PRE> | |
<DL> | |
<DD>Returns true if Velocity's LogChute returns true | |
for isErrorEnabled(). | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>isErrorEnabled</CODE> in interface <CODE>org.apache.commons.logging.Log</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="isFatalEnabled()"><!-- --></A><H3> | |
isFatalEnabled</H3> | |
<PRE> | |
public boolean <B>isFatalEnabled</B>()</PRE> | |
<DL> | |
<DD>Returns true if isErrorEnabled() returns true, since | |
Velocity's LogChute doesn't support this level. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>isFatalEnabled</CODE> in interface <CODE>org.apache.commons.logging.Log</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<!-- ========= END OF CLASS DATA ========= --> | |
<HR> | |
<!-- ======= START OF BOTTOM NAVBAR ====== --> | |
<A NAME="navbar_bottom"><!-- --></A> | |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_bottom_firstrow"><!-- --></A> | |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
<TR ALIGN="center" VALIGN="top"> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | |
</TR> | |
</TABLE> | |
</TD> | |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | |
</EM> | |
</TD> | |
</TR> | |
<TR> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../../org/apache/velocity/tools/generic/log/CommonsLogLogSystem.html" title="class in org.apache.velocity.tools.generic.log"><B>PREV CLASS</B></A> | |
<A HREF="../../../../../../org/apache/velocity/tools/generic/log/LogSystemCommonsLog.html" title="class in org.apache.velocity.tools.generic.log"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../../index.html?org/apache/velocity/tools/generic/log/LogChuteCommonsLog.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="LogChuteCommonsLog.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_bottom"></A> | |
<!-- ======== END OF BOTTOM NAVBAR ======= --> | |
<HR> | |
Copyright (c) 2003-2007 Apache Software Foundation | |
</BODY> | |
</HTML> |