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

📄 servletloggingservice.html

📁 turbine教程
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<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/ServletLoggingService.html#debug(java.lang.String, java.lang.Throwable)">debug</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 == DEBUG, 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/ServletLoggingService.html#error(java.lang.String)">error</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 == 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;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/ServletLoggingService.html#error(java.lang.String, org.apache.turbine.util.RunData)">error</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 == 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;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/ServletLoggingService.html#error(java.lang.String, org.apache.turbine.util.RunData, java.lang.Throwable)">error</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 == 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;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/logging/ServletLoggingService.html#error(java.lang.String, java.lang.String)">error</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 == ERROR, 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/ServletLoggingService.html#error(java.lang.String, java.lang.String, org.apache.turbine.util.RunData)">error</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 == ERROR, 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/ServletLoggingService.html#error(java.lang.String, java.lang.String, org.apache.turbine.util.RunData, java.lang.Throwable)">error</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 == ERROR, 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/ServletLoggingService.html#error(java.lang.String, java.lang.String, java.lang.Throwable)">error</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 == ERROR, 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/ServletLoggingService.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/ServletLoggingService.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 default logger, ignoring 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/ServletLoggingService.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/ServletLoggingService.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/ServletLoggingService.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/ServletLoggingService.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/ServletLoggingService.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/ServletLoggingService.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/ServletLoggingService.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/ServletLoggingService.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/ServletLoggingService.html#init(javax.servlet.ServletConfig)">init</A></B>(javax.servlet.ServletConfig&nbsp;config)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inits the service</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/ServletLoggingService.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/ServletLoggingService.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/ServletLoggingService.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/ServletLoggingService.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 default logger ignoring 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/ServletLoggingService.html#warn(java.lang.String)">warn</A></B>(java.lang.String&nbsp;message)</CODE>

⌨️ 快捷键说明

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