⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 loggingservice.html

📁 turbine教程
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#error(java.lang.String, java.lang.Throwable)">error</A></B>(java.lang.String&nbsp;message,      java.lang.Throwable&nbsp;t)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a log method with logLevel == ERROR,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>&nbsp;<A HREF="../../../../../org/apache/turbine/services/logging/Logger.html">Logger</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#getLogger()">getLogger</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method returns default logger for Turbine System</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../org/apache/turbine/services/logging/Logger.html">Logger</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#getLogger(java.lang.String)">getLogger</A></B>(java.lang.String&nbsp;logName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method returns logger with given name or default logger if the logger of specific name can't be found.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#info(java.lang.String)">info</A></B>(java.lang.String&nbsp;message)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a log method 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#info(java.lang.String, org.apache.turbine.util.RunData)">info</A></B>(java.lang.String&nbsp;message,     <A HREF="../../../../../org/apache/turbine/util/RunData.html">RunData</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a log method 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#info(java.lang.String, org.apache.turbine.util.RunData, java.lang.Throwable)">info</A></B>(java.lang.String&nbsp;message,     <A HREF="../../../../../org/apache/turbine/util/RunData.html">RunData</A>&nbsp;data,     java.lang.Throwable&nbsp;t)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a log method 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#info(java.lang.String, java.lang.String)">info</A></B>(java.lang.String&nbsp;logName,     java.lang.String&nbsp;message)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a log method 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#info(java.lang.String, java.lang.String, org.apache.turbine.util.RunData)">info</A></B>(java.lang.String&nbsp;logName,     java.lang.String&nbsp;message,     <A HREF="../../../../../org/apache/turbine/util/RunData.html">RunData</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a log method 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#info(java.lang.String, java.lang.String, org.apache.turbine.util.RunData, java.lang.Throwable)">info</A></B>(java.lang.String&nbsp;logName,     java.lang.String&nbsp;message,     <A HREF="../../../../../org/apache/turbine/util/RunData.html">RunData</A>&nbsp;data,     java.lang.Throwable&nbsp;t)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a log method 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#info(java.lang.String, java.lang.String, java.lang.Throwable)">info</A></B>(java.lang.String&nbsp;logName,     java.lang.String&nbsp;message,     java.lang.Throwable&nbsp;t)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a log method 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#info(java.lang.String, java.lang.Throwable)">info</A></B>(java.lang.String&nbsp;message,     java.lang.Throwable&nbsp;t)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a log method 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#setFormat(java.lang.String)">setFormat</A></B>(java.lang.String&nbsp;format)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#setFormat(java.lang.String, java.lang.String)">setFormat</A></B>(java.lang.String&nbsp;logName,          java.lang.String&nbsp;format)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#setLogLevel(int)">setLogLevel</A></B>(int&nbsp;level)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#setLogLevel(java.lang.String, int)">setLogLevel</A></B>(java.lang.String&nbsp;logName,            int&nbsp;level)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#warn(java.lang.String)">warn</A></B>(java.lang.String&nbsp;message)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a log method 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#warn(java.lang.String, org.apache.turbine.util.RunData)">warn</A></B>(java.lang.String&nbsp;message,     <A HREF="../../../../../org/apache/turbine/util/RunData.html">RunData</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a log method 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#warn(java.lang.String, org.apache.turbine.util.RunData, java.lang.Throwable)">warn</A></B>(java.lang.String&nbsp;message,     <A HREF="../../../../../org/apache/turbine/util/RunData.html">RunData</A>&nbsp;data,     java.lang.Throwable&nbsp;t)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a log method 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#warn(java.lang.String, java.lang.String)">warn</A></B>(java.lang.String&nbsp;logName,     java.lang.String&nbsp;message)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a log method 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#warn(java.lang.String, java.lang.String, org.apache.turbine.util.RunData)">warn</A></B>(java.lang.String&nbsp;logName,     java.lang.String&nbsp;message,     <A HREF="../../../../../org/apache/turbine/util/RunData.html">RunData</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a log method 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#warn(java.lang.String, java.lang.String, org.apache.turbine.util.RunData, java.lang.Throwable)">warn</A></B>(java.lang.String&nbsp;logName,     java.lang.String&nbsp;message,     <A HREF="../../../../../org/apache/turbine/util/RunData.html">RunData</A>&nbsp;data,     java.lang.Throwable&nbsp;t)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a log method 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#warn(java.lang.String, java.lang.String, java.lang.Throwable)">warn</A></B>(java.lang.String&nbsp;logName,     java.lang.String&nbsp;message,     java.lang.Throwable&nbsp;t)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a log method 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/LoggingService.html#warn(java.lang.String, java.lang.Throwable)">warn</A></B>(java.lang.String&nbsp;message,     java.lang.Throwable&nbsp;t)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a log method with logLevel == WARN,printing is done by the default logger</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.apache.turbine.services.Service"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface org.apache.turbine.services.<A HREF="../../../../../org/apache/turbine/services/Service.html">Service</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/apache/turbine/services/Service.html#getConfiguration()">getConfiguration</A>, <A HREF="../../../../../org/apache/turbine/services/Service.html#getName()">getName</A>, <A HREF="../../../../../org/apache/turbine/services/Service.html#getProperties()">getProperties</A>, <A HREF="../../../../../org/apache/turbine/services/Service.html#setName(java.lang.String)">setName</A>, <A HREF="../../../../../org/apache/turbine/services/Service.html#setServiceBroker(org.apache.turbine.services.ServiceBroker)">setServiceBroker</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.apache.turbine.services.Initable"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface org.apache.turbine.services.<A HREF="../../../../../org/apache/turbine/services/Initable.html">Initable</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/apache/turbine/services/Initable.html#getInit()">getInit</A>, <A HREF="../../../../../org/apache/turbine/services/Initable.html#init()">init</A>, <A HREF="../../../../../org/apache/turbine/services/Initable.html#init(java.lang.Object)">init</A>, <A HREF="../../../../../org/apache/turbine/services/Initable.html#setInitableBroker(org.apache.turbine.services.InitableBroker)">setInitableBroker</A>, <A HREF="../../../../../org/apache/turbine/services/Initable.html#shutdown()">shutdown</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="SERVICE_NAME"><!-- --></A><H3>SERVICE_NAME</H3><PRE>public static final java.lang.String <B>SERVICE_NAME</B></PRE><DL><DD>The name of the service</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -