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

📄 loggingconfig.html

📁 turbine教程
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method should be implemented by user if the logger can handle console.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>BaseLogger.</B><B><A HREF="../../../../../../org/apache/turbine/services/logging/BaseLogger.html#configureSyslog(org.apache.turbine.services.logging.LoggingConfig)">configureSyslog</A></B>(<A HREF="../../../../../../org/apache/turbine/services/logging/LoggingConfig.html">LoggingConfig</A>&nbsp;loggingConfig)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method should be implemented by user if the logger can handle syslog demon.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>BaseLogger.</B><B><A HREF="../../../../../../org/apache/turbine/services/logging/BaseLogger.html#configureEmail(org.apache.turbine.services.logging.LoggingConfig)">configureEmail</A></B>(<A HREF="../../../../../../org/apache/turbine/services/logging/LoggingConfig.html">LoggingConfig</A>&nbsp;loggingConfig)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method should be implemented by user if the logger can handle emailing logs.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>BaseLogger.</B><B><A HREF="../../../../../../org/apache/turbine/services/logging/BaseLogger.html#configureDatabase(org.apache.turbine.services.logging.LoggingConfig)">configureDatabase</A></B>(<A HREF="../../../../../../org/apache/turbine/services/logging/LoggingConfig.html">LoggingConfig</A>&nbsp;loggingConfig)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method should be implemented by user if the logger can handle database logs.</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>ServletLogger.</B><B><A HREF="../../../../../../org/apache/turbine/services/logging/ServletLogger.html#init(org.apache.turbine.services.logging.LoggingConfig)">init</A></B>(<A HREF="../../../../../../org/apache/turbine/services/logging/LoggingConfig.html">LoggingConfig</A>&nbsp;loggingConfig)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>TurbineLoggingService.</B><B><A HREF="../../../../../../org/apache/turbine/services/logging/TurbineLoggingService.html#loadLogger(org.apache.turbine.services.logging.LoggingConfig)">loadLogger</A></B>(<A HREF="../../../../../../org/apache/turbine/services/logging/LoggingConfig.html">LoggingConfig</A>&nbsp;loggingConfig)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates instances of the logger, configures it, and adds it to the hashTable.</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>Log4JavaLogger.</B><B><A HREF="../../../../../../org/apache/turbine/services/logging/Log4JavaLogger.html#init(org.apache.turbine.services.logging.LoggingConfig)">init</A></B>(<A HREF="../../../../../../org/apache/turbine/services/logging/LoggingConfig.html">LoggingConfig</A>&nbsp;loggingConfig)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize and create new category (logger handler)</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>Log4JavaLogger.</B><B><A HREF="../../../../../../org/apache/turbine/services/logging/Log4JavaLogger.html#configureFiles(org.apache.turbine.services.logging.LoggingConfig)">configureFiles</A></B>(<A HREF="../../../../../../org/apache/turbine/services/logging/LoggingConfig.html">LoggingConfig</A>&nbsp;loggingConfig)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a local file as destinations for logger.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>Log4JavaLogger.</B><B><A HREF="../../../../../../org/apache/turbine/services/logging/Log4JavaLogger.html#configureConsole(org.apache.turbine.services.logging.LoggingConfig)">configureConsole</A></B>(<A HREF="../../../../../../org/apache/turbine/services/logging/LoggingConfig.html">LoggingConfig</A>&nbsp;loggingConfig)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;It adds console as a destination for logger.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>Log4JavaLogger.</B><B><A HREF="../../../../../../org/apache/turbine/services/logging/Log4JavaLogger.html#configureRemote(org.apache.turbine.services.logging.LoggingConfig)">configureRemote</A></B>(<A HREF="../../../../../../org/apache/turbine/services/logging/LoggingConfig.html">LoggingConfig</A>&nbsp;loggingConfig)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method should be implemented by user if the logger can handle console.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>Log4JavaLogger.</B><B><A HREF="../../../../../../org/apache/turbine/services/logging/Log4JavaLogger.html#configureSyslog(org.apache.turbine.services.logging.LoggingConfig)">configureSyslog</A></B>(<A HREF="../../../../../../org/apache/turbine/services/logging/LoggingConfig.html">LoggingConfig</A>&nbsp;loggingConfig)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;It adds remote demon as a destination for logger.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>Log4JavaLogger.</B><B><A HREF="../../../../../../org/apache/turbine/services/logging/Log4JavaLogger.html#configureEmail(org.apache.turbine.services.logging.LoggingConfig)">configureEmail</A></B>(<A HREF="../../../../../../org/apache/turbine/services/logging/LoggingConfig.html">LoggingConfig</A>&nbsp;loggingConfig)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;It adds email as a destination for logger.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>Log4JavaLogger.</B><B><A HREF="../../../../../../org/apache/turbine/services/logging/Log4JavaLogger.html#configureDatabase(org.apache.turbine.services.logging.LoggingConfig)">configureDatabase</A></B>(<A HREF="../../../../../../org/apache/turbine/services/logging/LoggingConfig.html">LoggingConfig</A>&nbsp;loggingConfig)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;It adds a db as a destination for 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>FileLogger.</B><B><A HREF="../../../../../../org/apache/turbine/services/logging/FileLogger.html#init(org.apache.turbine.services.logging.LoggingConfig)">init</A></B>(<A HREF="../../../../../../org/apache/turbine/services/logging/LoggingConfig.html">LoggingConfig</A>&nbsp;loggingConfig)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize and create the writers</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>FileLogger.</B><B><A HREF="../../../../../../org/apache/turbine/services/logging/FileLogger.html#configureFiles(org.apache.turbine.services.logging.LoggingConfig)">configureFiles</A></B>(<A HREF="../../../../../../org/apache/turbine/services/logging/LoggingConfig.html">LoggingConfig</A>&nbsp;loggingConfig)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds local file as destinations for logger.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>FileLogger.</B><B><A HREF="../../../../../../org/apache/turbine/services/logging/FileLogger.html#configureConsole(org.apache.turbine.services.logging.LoggingConfig)">configureConsole</A></B>(<A HREF="../../../../../../org/apache/turbine/services/logging/LoggingConfig.html">LoggingConfig</A>&nbsp;loggingConfig)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds console as a destination for logger.</TD></TR></TABLE>&nbsp;<P><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../org/apache/turbine/services/logging/LoggingConfig.html"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV&nbsp;&nbsp;NEXT</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="LoggingConfig.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR>Copyright &copy; 2000-2002 Apache Software Foundation. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

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