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

📄 debug.log.html

📁 weka是机器学习和数据挖掘领域最有影响力的开源项目之一
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<A NAME="Debug.Log()"><!-- --></A><H3>Debug.Log</H3><PRE>public <B>Debug.Log</B>()</PRE><DL><DD>default constructor, uses only stdout<P></DL><HR><A NAME="Debug.Log(java.lang.String)"><!-- --></A><H3>Debug.Log</H3><PRE>public <B>Debug.Log</B>(java.lang.String&nbsp;filename)</PRE><DL><DD>creates a logger that logs into the specified file, if null then only stdout is used. It uses 1,000,000 bytes for file size and 1 file.<P><DL><DT><B>Parameters:</B><DD><CODE>filename</CODE> - the file to log into</DL></DL><HR><A NAME="Debug.Log(java.lang.String, int, int)"><!-- --></A><H3>Debug.Log</H3><PRE>public <B>Debug.Log</B>(java.lang.String&nbsp;filename,                 int&nbsp;size,                 int&nbsp;numFiles)</PRE><DL><DD>creates a logger that logs into the specified file, if null then only stdout is used.<P><DL><DT><B>Parameters:</B><DD><CODE>filename</CODE> - the file to log into<DD><CODE>size</CODE> - the size of the files in bytes<DD><CODE>numFiles</CODE> - the number of files for rotating</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="stringToLevel(java.lang.String)"><!-- --></A><H3>stringToLevel</H3><PRE>public static java.util.logging.Level <B>stringToLevel</B>(java.lang.String&nbsp;level)</PRE><DL><DD>turns the string representing a level, e.g., "FINE" or "ALL" into the corresponding level (case-insensitive). The default is ALL.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>level</CODE> - the string to return a level for<DT><B>Returns:</B><DD>the corresponding level or the default</DL></DD></DL><HR><A NAME="getFilename()"><!-- --></A><H3>getFilename</H3><PRE>public java.lang.String <B>getFilename</B>()</PRE><DL><DD>returns the filename of the log, can be null<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the filename of the log</DL></DD></DL><HR><A NAME="getSize()"><!-- --></A><H3>getSize</H3><PRE>public int <B>getSize</B>()</PRE><DL><DD>returns the size of the files<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the size of a file</DL></DD></DL><HR><A NAME="getNumFiles()"><!-- --></A><H3>getNumFiles</H3><PRE>public int <B>getNumFiles</B>()</PRE><DL><DD>returns the number of files being used<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of files</DL></DD></DL><HR><A NAME="log(java.util.logging.Level, java.lang.String)"><!-- --></A><H3>log</H3><PRE>public void <B>log</B>(java.util.logging.Level&nbsp;level,                java.lang.String&nbsp;message)</PRE><DL><DD>logs the given message<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>level</CODE> - the level of severity<DD><CODE>message</CODE> - the message to log</DL></DD></DL><HR><A NAME="log(java.util.logging.Level, java.lang.String, java.lang.String)"><!-- --></A><H3>log</H3><PRE>public void <B>log</B>(java.util.logging.Level&nbsp;level,                java.lang.String&nbsp;sourceclass,                java.lang.String&nbsp;message)</PRE><DL><DD>prints the given message with the specified level<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>level</CODE> - the level of logging<DD><CODE>sourceclass</CODE> - the class that logs the message<DD><CODE>message</CODE> - the message to print</DL></DD></DL><HR><A NAME="log(java.util.logging.Level, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>log</H3><PRE>public void <B>log</B>(java.util.logging.Level&nbsp;level,                java.lang.String&nbsp;sourceclass,                java.lang.String&nbsp;sourcemethod,                java.lang.String&nbsp;message)</PRE><DL><DD>prints the given message with the specified level<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>level</CODE> - the level of logging<DD><CODE>sourceclass</CODE> - the class that logs the message<DD><CODE>sourcemethod</CODE> - the method that logs the message<DD><CODE>message</CODE> - the message to print</DL></DD></DL><HR><A NAME="logSystemInfo()"><!-- --></A><H3>logSystemInfo</H3><PRE>public void <B>logSystemInfo</B>()</PRE><DL><DD>a convenience method for dumping the current system info in the  log file<P><DD><DL></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../weka/core/SystemInfo.html" title="class in weka.core"><CODE>SystemInfo</CODE></A></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>returns a string representation of the logger<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string representation of the logger</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</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> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</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;<A HREF="../../weka/core/Debug.DBO.html" title="class in weka.core"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../weka/core/Debug.Random.html" title="class in weka.core"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html?weka/core/Debug.Log.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Debug.Log.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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