📄 turbinelogging.html
字号:
</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/turbine/services/logging/TurbineLogging.html#info(java.lang.String, java.lang.String)">info</A></B>(java.lang.String logName, java.lang.String message)</CODE><BR> This is a log metod with logLevel == INFO, printing is done by the given logger</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/turbine/services/logging/TurbineLogging.html#info(java.lang.String, java.lang.String, org.apache.turbine.util.RunData)">info</A></B>(java.lang.String logName, java.lang.String message, <A HREF="../../../../../org/apache/turbine/util/RunData.html">RunData</A> data)</CODE><BR> This is a log metod with logLevel == INFO, printing is done by the given logger</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/turbine/services/logging/TurbineLogging.html#info(java.lang.String, java.lang.String, org.apache.turbine.util.RunData, java.lang.Throwable)">info</A></B>(java.lang.String logName, java.lang.String message, <A HREF="../../../../../org/apache/turbine/util/RunData.html">RunData</A> data, java.lang.Throwable t)</CODE><BR> This is a log metod with logLevel == INFO, printing is done by the given logger</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/turbine/services/logging/TurbineLogging.html#info(java.lang.String, java.lang.String, java.lang.Throwable)">info</A></B>(java.lang.String logName, java.lang.String message, java.lang.Throwable t)</CODE><BR> This is a log metod with logLevel == INFO, printing is done by the given logger</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/turbine/services/logging/TurbineLogging.html#info(java.lang.String, java.lang.Throwable)">info</A></B>(java.lang.String message, java.lang.Throwable t)</CODE><BR> This is a log metod with logLevel == INFO, printing is done by the default logger</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/turbine/services/logging/TurbineLogging.html#setFormat(java.lang.String)">setFormat</A></B>(java.lang.String format)</CODE><BR> This metod sets format style of the default logger</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/turbine/services/logging/TurbineLogging.html#setFormat(java.lang.String, java.lang.String)">setFormat</A></B>(java.lang.String logName, java.lang.String format)</CODE><BR> This metod sets format style of the given logger.</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/turbine/services/logging/TurbineLogging.html#setLogLevel(int)">setLogLevel</A></B>(int level)</CODE><BR> This metod sets the log level in default logger</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/turbine/services/logging/TurbineLogging.html#setLogLevel(java.lang.String, int)">setLogLevel</A></B>(java.lang.String logName, int level)</CODE><BR> This metod sets the log level in the logger of given name</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/turbine/services/logging/TurbineLogging.html#warn(java.lang.String)">warn</A></B>(java.lang.String message)</CODE><BR> This is a log metod with logLevel == WARN, printing is done by the default logger</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/turbine/services/logging/TurbineLogging.html#warn(java.lang.String, org.apache.turbine.util.RunData)">warn</A></B>(java.lang.String message, <A HREF="../../../../../org/apache/turbine/util/RunData.html">RunData</A> data)</CODE><BR> This is a log metod with logLevel == WARN, printing is done by the default logger</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/turbine/services/logging/TurbineLogging.html#warn(java.lang.String, org.apache.turbine.util.RunData, java.lang.Throwable)">warn</A></B>(java.lang.String message, <A HREF="../../../../../org/apache/turbine/util/RunData.html">RunData</A> data, java.lang.Throwable t)</CODE><BR> This is a log metod with logLevel == WARN, printing is done by the default logger</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/turbine/services/logging/TurbineLogging.html#warn(java.lang.String, java.lang.String)">warn</A></B>(java.lang.String logName, java.lang.String message)</CODE><BR> This is a log metod with logLevel == WARN, printing is done by the given logger</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/turbine/services/logging/TurbineLogging.html#warn(java.lang.String, java.lang.String, org.apache.turbine.util.RunData)">warn</A></B>(java.lang.String logName, java.lang.String message, <A HREF="../../../../../org/apache/turbine/util/RunData.html">RunData</A> data)</CODE><BR> This is a log metod with logLevel == WARN, printing is done by the given logger</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/turbine/services/logging/TurbineLogging.html#warn(java.lang.String, java.lang.String, org.apache.turbine.util.RunData, java.lang.Throwable)">warn</A></B>(java.lang.String logName, java.lang.String message, <A HREF="../../../../../org/apache/turbine/util/RunData.html">RunData</A> data, java.lang.Throwable t)</CODE><BR> This is a log metod with logLevel == WARN, printing is done by the given logger</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/turbine/services/logging/TurbineLogging.html#warn(java.lang.String, java.lang.String, java.lang.Throwable)">warn</A></B>(java.lang.String logName, java.lang.String message, java.lang.Throwable t)</CODE><BR> This is a log metod with logLevel == WARN, printing is done by the given logger</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/turbine/services/logging/TurbineLogging.html#warn(java.lang.String, java.lang.Throwable)">warn</A></B>(java.lang.String message, java.lang.Throwable t)</CODE><BR> This is a log metod with logLevel == WARN, printing is done by the default logger</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="TurbineLogging()"><!-- --></A><H3>TurbineLogging</H3><PRE>public <B>TurbineLogging</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getService()"><!-- --></A><H3>getService</H3><PRE>protected static <A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html">LoggingService</A> <B>getService</B>()</PRE><DL><DD>Utility method for accessing the service implementation<DD><DL><DT><B>Returns:</B><DD>a LoggingService implementation instance</DL></DD></DL><HR><A NAME="finalize()"><!-- --></A><H3>finalize</H3><PRE>protected void <B>finalize</B>() throws java.lang.Throwable</PRE><DL><DD>Attempt to close the log files when the class is GC'd.<DD><DL><DT><B>Overrides:</B><DD><CODE>finalize</CODE> in class <CODE>java.lang.Object</CODE></DL></DD></DL><HR><A NAME="getLogger()"><!-- --></A><H3>getLogger</H3><PRE>public static <A HREF="../../../../../org/apache/turbine/services/logging/Logger.html">Logger</A> <B>getLogger</B>()</PRE><DL><DD>This metod returns default logger for Turbine System<DD><DL><DT><B>Returns:</B><DD>The default logger for system.</DL></DD></DL><HR><A NAME="getLogger(java.lang.String)"><!-- --></A><H3>getLogger</H3><PRE>public static <A HREF="../../../../../org/apache/turbine/services/logging/Logger.html">Logger</A> <B>getLogger</B>(java.lang.String logName)</PRE><DL><DD>This metod returns logger with given name.</DL><HR><A NAME="setLogLevel(int)"><!-- --></A><H3>setLogLevel</H3><PRE>public static void <B>setLogLevel</B>(int level)</PRE><DL><DD>This metod sets the log level in default logger</DL><HR><A NAME="setLogLevel(java.lang.String, int)"><!-- --></A><H3>setLogLevel</H3><PRE>public static void <B>setLogLevel</B>(java.lang.String logName, int level)</PRE><DL><DD>This metod sets the log level in the logger of given name</DL><HR><A NAME="setFormat(java.lang.String)"><!-- --></A><H3>setFormat</H3><PRE>public static void <B>setFormat</B>(java.lang.String format)</PRE><DL><DD>This metod sets format style of the default logger</DL><HR><A NAME="setFormat(java.lang.String, java.lang.String)"><!-- --></A><H3>setFormat</H3><PRE>public static void <B>setFormat</B>(java.lang.String logName, java.lang.String format)</PRE><DL><DD>This metod sets format style of the given logger.</DL><HR><A NAME="debug(java.lang.String)"><!-- --></A><H3>debug</H3><PRE>public static void <B>debug</B>(java.lang.String message)</PRE><DL><DD>This is a log metod with logLevel == DEBUG, printing is done by the default logger</DL><HR><A NAME="debug(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>debug</H3><PRE>public static void <B>debug</B>(java.lang.String message, java.lang.Throwable t)</PRE><DL><DD>This is a log metod with logLevel == DEBUG, printing is done by the default logger</DL><HR><A NAME="debug(java.lang.String, java.lang.String, java.lang.Throwable)"><!-- --></A><H3>debug</H3><PRE>public static void <B>debug</B>(java.lang.String logName, java.lang.String message, java.lang.Throwable t)</PRE><DL><DD>This is a log metod with logLevel == DEBUG, printing is done by the given logger</DL><HR><A NAME="debug(java.lang.String, java.lang.String)"><!-- --></A><H3>debug</H3><PRE>public static void <B>debug</B>(java.lang.String logName, java.lang.String message)</PRE><DL><DD>This is a log metod with logLevel == DEBUG, printing is done by the given logger</DL><HR><A NAME="debug(java.lang.String, org.apache.turbine.util.RunData)"><!-- --></A><H3>debug</H3><PRE>public static void <B>debug</B>(java.lang.String message, <A HREF="../../../../../org/apache/turbine/util/RunData.html">RunData</A> data)</PRE><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -