mirror of
https://github.com/ChronosX88/FreePastry.git
synced 2025-01-16 09:36:27 +00:00
575 lines
21 KiB
HTML
575 lines
21 KiB
HTML
|
<!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.6.0_07) on Fri Mar 13 20:01:01 CET 2009 -->
|
||
|
<TITLE>
|
||
|
Logger (Rice Pastry - API Specifications)
|
||
|
</TITLE>
|
||
|
|
||
|
<META NAME="date" CONTENT="2009-03-13">
|
||
|
|
||
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||
|
|
||
|
<SCRIPT type="text/javascript">
|
||
|
function windowTitle()
|
||
|
{
|
||
|
if (location.href.indexOf('is-external=true') == -1) {
|
||
|
parent.document.title="Logger (Rice Pastry - API Specifications)";
|
||
|
}
|
||
|
}
|
||
|
</SCRIPT>
|
||
|
<NOSCRIPT>
|
||
|
</NOSCRIPT>
|
||
|
|
||
|
</HEAD>
|
||
|
|
||
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||
|
<HR>
|
||
|
|
||
|
|
||
|
<!-- ========= 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="class-use/Logger.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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>
|
||
|
Rice Pastry API</EM>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
|
||
|
<TR>
|
||
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
|
<A HREF="../../../rice/environment/logging/InvalidLogLevelException.html" title="class in rice.environment.logging"><B>PREV CLASS</B></A>
|
||
|
<A HREF="../../../rice/environment/logging/LogManager.html" title="interface in rice.environment.logging"><B>NEXT CLASS</B></A></FONT></TD>
|
||
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
|
<A HREF="../../../index.html?rice/environment/logging/Logger.html" target="_top"><B>FRAMES</B></A>
|
||
|
<A HREF="Logger.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">
|
||
|
rice.environment.logging</FONT>
|
||
|
<BR>
|
||
|
Class Logger</H2>
|
||
|
<PRE>
|
||
|
java.lang.Object
|
||
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>rice.environment.logging.Logger</B>
|
||
|
</PRE>
|
||
|
<DL>
|
||
|
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../rice/environment/logging/HeirarchyLogger.html" title="class in rice.environment.logging">HeirarchyLogger</A></DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
<DL>
|
||
|
<DT><PRE>public abstract class <B>Logger</B><DT>extends java.lang.Object</DL>
|
||
|
</PRE>
|
||
|
|
||
|
<P>
|
||
|
The Logger is a simplified interface of the java.util.logging.Logger. It is
|
||
|
envisioned that one could implement this interface using java.util.logging, but
|
||
|
that many times this interface is overkill.
|
||
|
<P>
|
||
|
|
||
|
<P>
|
||
|
<DL>
|
||
|
<DT><B>Author:</B></DT>
|
||
|
<DD>Jeff Hoye</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>static int</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/environment/logging/Logger.html#ALL">ALL</A></B></CODE>
|
||
|
|
||
|
<BR>
|
||
|
ALL indicates that all messages should be logged.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>static int</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/environment/logging/Logger.html#CONFIG">CONFIG</A></B></CODE>
|
||
|
|
||
|
<BR>
|
||
|
CONFIG is a message level for static configuration messages.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>static int</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/environment/logging/Logger.html#FINE">FINE</A></B></CODE>
|
||
|
|
||
|
<BR>
|
||
|
FINE is a message level providing tracing information.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>static int</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/environment/logging/Logger.html#FINER">FINER</A></B></CODE>
|
||
|
|
||
|
<BR>
|
||
|
FINER indicates a fairly detailed tracing message.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>static int</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/environment/logging/Logger.html#FINEST">FINEST</A></B></CODE>
|
||
|
|
||
|
<BR>
|
||
|
FINEST indicates a highly detailed tracing message.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>static int</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/environment/logging/Logger.html#INFO">INFO</A></B></CODE>
|
||
|
|
||
|
<BR>
|
||
|
INFO is a message level for informational messages.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> int</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/environment/logging/Logger.html#level">level</A></B></CODE>
|
||
|
|
||
|
<BR>
|
||
|
This is public for performance reasons.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>static int</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/environment/logging/Logger.html#OFF">OFF</A></B></CODE>
|
||
|
|
||
|
<BR>
|
||
|
OFF is a special level that can be used to turn off logging.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>static int</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/environment/logging/Logger.html#SEVERE">SEVERE</A></B></CODE>
|
||
|
|
||
|
<BR>
|
||
|
SEVERE is a message level indicating a serious failure.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>static int</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/environment/logging/Logger.html#WARNING">WARNING</A></B></CODE>
|
||
|
|
||
|
<BR>
|
||
|
WARNING is a message level indicating a potential problem.</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="../../../rice/environment/logging/Logger.html#Logger()">Logger</A></B>()</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="../../../rice/environment/logging/Logger.html#log(int, java.lang.String)">log</A></B>(int priority,
|
||
|
java.lang.String message)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
<B>Deprecated.</B> <I>use if (logger.level <= priority) log(String);</I></TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>abstract void</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/environment/logging/Logger.html#log(java.lang.String)">log</A></B>(java.lang.String message)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Prints the message if the priority is equal to or higher than the minimum priority.</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="../../../rice/environment/logging/Logger.html#logException(int, java.lang.String, java.lang.Throwable)">logException</A></B>(int priority,
|
||
|
java.lang.String message,
|
||
|
java.lang.Throwable exception)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
<B>Deprecated.</B> <I>use if (logger.level <= priority) logException(String, Throwable);</I></TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>abstract void</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/environment/logging/Logger.html#logException(java.lang.String, java.lang.Throwable)">logException</A></B>(java.lang.String message,
|
||
|
java.lang.Throwable exception)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Prints the stack trace of the exception.</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="SEVERE"><!-- --></A><H3>
|
||
|
SEVERE</H3>
|
||
|
<PRE>
|
||
|
public static final int <B>SEVERE</B></PRE>
|
||
|
<DL>
|
||
|
<DD>SEVERE is a message level indicating a serious failure.
|
||
|
<P>
|
||
|
<DL>
|
||
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#rice.environment.logging.Logger.SEVERE">Constant Field Values</A></DL>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="WARNING"><!-- --></A><H3>
|
||
|
WARNING</H3>
|
||
|
<PRE>
|
||
|
public static final int <B>WARNING</B></PRE>
|
||
|
<DL>
|
||
|
<DD>WARNING is a message level indicating a potential problem.
|
||
|
<P>
|
||
|
<DL>
|
||
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#rice.environment.logging.Logger.WARNING">Constant Field Values</A></DL>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="INFO"><!-- --></A><H3>
|
||
|
INFO</H3>
|
||
|
<PRE>
|
||
|
public static final int <B>INFO</B></PRE>
|
||
|
<DL>
|
||
|
<DD>INFO is a message level for informational messages.
|
||
|
Things that only happen once per node creation.
|
||
|
<P>
|
||
|
<DL>
|
||
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#rice.environment.logging.Logger.INFO">Constant Field Values</A></DL>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="CONFIG"><!-- --></A><H3>
|
||
|
CONFIG</H3>
|
||
|
<PRE>
|
||
|
public static final int <B>CONFIG</B></PRE>
|
||
|
<DL>
|
||
|
<DD>CONFIG is a message level for static configuration messages.
|
||
|
<P>
|
||
|
<DL>
|
||
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#rice.environment.logging.Logger.CONFIG">Constant Field Values</A></DL>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="FINE"><!-- --></A><H3>
|
||
|
FINE</H3>
|
||
|
<PRE>
|
||
|
public static final int <B>FINE</B></PRE>
|
||
|
<DL>
|
||
|
<DD>FINE is a message level providing tracing information.
|
||
|
Things that get logged once per specific message.
|
||
|
<P>
|
||
|
<DL>
|
||
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#rice.environment.logging.Logger.FINE">Constant Field Values</A></DL>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="FINER"><!-- --></A><H3>
|
||
|
FINER</H3>
|
||
|
<PRE>
|
||
|
public static final int <B>FINER</B></PRE>
|
||
|
<DL>
|
||
|
<DD>FINER indicates a fairly detailed tracing message.
|
||
|
Things that get logged once per general message.
|
||
|
<P>
|
||
|
<DL>
|
||
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#rice.environment.logging.Logger.FINER">Constant Field Values</A></DL>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="FINEST"><!-- --></A><H3>
|
||
|
FINEST</H3>
|
||
|
<PRE>
|
||
|
public static final int <B>FINEST</B></PRE>
|
||
|
<DL>
|
||
|
<DD>FINEST indicates a highly detailed tracing message.
|
||
|
Things that happen more than once per general message.
|
||
|
<P>
|
||
|
<DL>
|
||
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#rice.environment.logging.Logger.FINEST">Constant Field Values</A></DL>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="ALL"><!-- --></A><H3>
|
||
|
ALL</H3>
|
||
|
<PRE>
|
||
|
public static final int <B>ALL</B></PRE>
|
||
|
<DL>
|
||
|
<DD>ALL indicates that all messages should be logged.
|
||
|
<P>
|
||
|
<DL>
|
||
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#rice.environment.logging.Logger.ALL">Constant Field Values</A></DL>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="OFF"><!-- --></A><H3>
|
||
|
OFF</H3>
|
||
|
<PRE>
|
||
|
public static final int <B>OFF</B></PRE>
|
||
|
<DL>
|
||
|
<DD>OFF is a special level that can be used to turn off logging.
|
||
|
<P>
|
||
|
<DL>
|
||
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#rice.environment.logging.Logger.OFF">Constant Field Values</A></DL>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="level"><!-- --></A><H3>
|
||
|
level</H3>
|
||
|
<PRE>
|
||
|
public int <B>level</B></PRE>
|
||
|
<DL>
|
||
|
<DD>This is public for performance reasons.
|
||
|
<P>
|
||
|
<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="Logger()"><!-- --></A><H3>
|
||
|
Logger</H3>
|
||
|
<PRE>
|
||
|
public <B>Logger</B>()</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="log(java.lang.String)"><!-- --></A><H3>
|
||
|
log</H3>
|
||
|
<PRE>
|
||
|
public abstract void <B>log</B>(java.lang.String message)</PRE>
|
||
|
<DL>
|
||
|
<DD>Prints the message if the priority is equal to or higher than the minimum priority.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>priority</CODE> - the priority of this log message<DD><CODE>message</CODE> - the message to print</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="logException(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
|
||
|
logException</H3>
|
||
|
<PRE>
|
||
|
public abstract void <B>logException</B>(java.lang.String message,
|
||
|
java.lang.Throwable exception)</PRE>
|
||
|
<DL>
|
||
|
<DD>Prints the stack trace of the exception. If you only want to print the
|
||
|
exception's string, use the log() method.
|
||
|
|
||
|
This is necessary because Exception doesn't have a convienient way of printing the stack trace as a string.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>priority</CODE> - the priority of this log message<DD><CODE>exception</CODE> - the exception to print</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="log(int, java.lang.String)"><!-- --></A><H3>
|
||
|
log</H3>
|
||
|
<PRE>
|
||
|
public void <B>log</B>(int priority,
|
||
|
java.lang.String message)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Deprecated.</B> <I>use if (logger.level <= priority) log(String);</I>
|
||
|
<P>
|
||
|
<DD>Prints the message if the priority is equal to or higher than the minimum priority.
|
||
|
|
||
|
Deprecated because string construction performance was the bottleneck
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>priority</CODE> - the priority of this log message<DD><CODE>message</CODE> - the message to print</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="logException(int, java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
|
||
|
logException</H3>
|
||
|
<PRE>
|
||
|
public void <B>logException</B>(int priority,
|
||
|
java.lang.String message,
|
||
|
java.lang.Throwable exception)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Deprecated.</B> <I>use if (logger.level <= priority) logException(String, Throwable);</I>
|
||
|
<P>
|
||
|
<DD>Prints the stack trace of the exception. If you only want to print the
|
||
|
exception's string, use the log() method.
|
||
|
|
||
|
This is necessary because Exception doesn't have a convienient way of printing the stack trace as a string.
|
||
|
|
||
|
Deprecated because string construction performance was the bottleneck
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>priority</CODE> - the priority of this log message<DD><CODE>exception</CODE> - the exception to print</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="class-use/Logger.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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>
|
||
|
Rice Pastry API</EM>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
|
||
|
<TR>
|
||
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
|
<A HREF="../../../rice/environment/logging/InvalidLogLevelException.html" title="class in rice.environment.logging"><B>PREV CLASS</B></A>
|
||
|
<A HREF="../../../rice/environment/logging/LogManager.html" title="interface in rice.environment.logging"><B>NEXT CLASS</B></A></FONT></TD>
|
||
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
|
<A HREF="../../../index.html?rice/environment/logging/Logger.html" target="_top"><B>FRAMES</B></A>
|
||
|
<A HREF="Logger.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>
|
||
|
<i>Copyright © 2001-2005 - Rice Pastry.</i>
|
||
|
</BODY>
|
||
|
</HTML>
|