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

📄 logservice.html

📁 数据挖掘方面最新软件
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/tools/LogService.html#initGlobalLogging(java.io.OutputStream, int)">initGlobalLogging</A></B>(java.io.OutputStream&nbsp;out,                  int&nbsp;logVerbosity)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initializes the global logging, i.e. the global log service not bound  to a concrete process.</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="../../../com/rapidminer/tools/LogService.html#initGUI()">initGUI</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/tools/LogService.html#isSufficientLogVerbosity(int)">isSufficientLogVerbosity</A></B>(int&nbsp;level)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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="../../../com/rapidminer/tools/LogService.html#log(java.lang.String)">log</A></B>(java.lang.String&nbsp;message)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Logs a status message with the correct log 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="../../../com/rapidminer/tools/LogService.html#log(java.lang.String, int)">log</A></B>(java.lang.String&nbsp;message,    int&nbsp;verbosityLevel)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the message to the output stream if the verbosity level is high enough.</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="../../../com/rapidminer/tools/LogService.html#logError(java.lang.String)">logError</A></B>(java.lang.String&nbsp;message)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Logs an error message with the correct log 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="../../../com/rapidminer/tools/LogService.html#logFinalException(java.lang.String, com.rapidminer.Process, java.lang.Throwable, boolean)">logFinalException</A></B>(java.lang.String&nbsp;message,                  <A HREF="../../../com/rapidminer/Process.html" title="class in com.rapidminer">Process</A>&nbsp;process,                  java.lang.Throwable&nbsp;exception,                  boolean&nbsp;debugMode)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the message and the stack trace of the exception.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/tools/LogService.html#logMessage(java.lang.String, int)">logMessage</A></B>(java.lang.String&nbsp;message,           int&nbsp;verbosityLevel)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>please do not use this log method any longer, use the method <A HREF="../../../com/rapidminer/tools/LogService.html#log(java.lang.String, int)"><CODE>log(String, int)</CODE></A> instead</I></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="../../../com/rapidminer/tools/LogService.html#logNote(java.lang.String)">logNote</A></B>(java.lang.String&nbsp;message)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Logs a note message with the correct log 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="../../../com/rapidminer/tools/LogService.html#logWarning(java.lang.String)">logWarning</A></B>(java.lang.String&nbsp;message)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Logs a warning message with the correct log 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="../../../com/rapidminer/tools/LogService.html#setVerbosityLevel(int)">setVerbosityLevel</A></B>(int&nbsp;level)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="GLOBAL_PREFIX"><!-- --></A><H3>GLOBAL_PREFIX</H3><PRE>public static final java.lang.String <B>GLOBAL_PREFIX</B></PRE><DL><DD>The prefix used to indicate the global logger.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rapidminer.tools.LogService.GLOBAL_PREFIX">Constant Field Values</A></DL></DL><HR><A NAME="UNKNOWN_LEVEL"><!-- --></A><H3>UNKNOWN_LEVEL</H3><PRE>public static final int <B>UNKNOWN_LEVEL</B></PRE><DL><DD>Indicates an unknown verbosity level.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rapidminer.tools.LogService.UNKNOWN_LEVEL">Constant Field Values</A></DL></DL><HR><A NAME="MINIMUM"><!-- --></A><H3>MINIMUM</H3><PRE>public static final int <B>MINIMUM</B></PRE><DL><DD>Indicates the lowest log verbosity. Should only be used for very detailed but not necessary logging.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rapidminer.tools.LogService.MINIMUM">Constant Field Values</A></DL></DL><HR><A NAME="IO"><!-- --></A><H3>IO</H3><PRE>public static final int <B>IO</B></PRE><DL><DD>Indicates log messages concerning in- and output. Should only be used by the class Operator itself and not by its subclasses.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rapidminer.tools.LogService.IO">Constant Field Values</A></DL></DL><HR><A NAME="STATUS"><!-- --></A><H3>STATUS</H3><PRE>public static final int <B>STATUS</B></PRE><DL><DD>The default log verbosity for all logging purposes of operators.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rapidminer.tools.LogService.STATUS">Constant Field Values</A></DL></DL><HR><A NAME="INIT"><!-- --></A><H3>INIT</H3><PRE>public static final int <B>INIT</B></PRE><DL><DD>Only the most important logging messaged should use this log verbosity. Currently used only by the LogService itself.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rapidminer.tools.LogService.INIT">Constant Field Values</A></DL></DL><HR><A NAME="NOTE"><!-- --></A><H3>NOTE</H3><PRE>public static final int <B>NOTE</B></PRE><DL><DD>Use this log verbosity for logging of important notes, i.e. things less important than warnings   but important enough to see for all not interested in the detailed status messages.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rapidminer.tools.LogService.NOTE">Constant Field Values</A></DL></DL><HR><A NAME="WARNING"><!-- --></A><H3>WARNING</H3><PRE>public static final int <B>WARNING</B></PRE><DL><DD>Use this log verbosity for logging of warnings.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rapidminer.tools.LogService.WARNING">Constant Field Values</A></DL></DL><HR><A NAME="ERROR"><!-- --></A><H3>ERROR</H3><PRE>public static final int <B>ERROR</B></PRE><DL><DD>Use this log verbosity for logging of errors.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rapidminer.tools.LogService.ERROR">Constant Field Values</A></DL></DL><HR><A NAME="FATAL"><!-- --></A><H3>FATAL</H3><PRE>public static final int <B>FATAL</B></PRE><DL><DD>Use this log verbosity for logging of fatal errors which will stop process running somewhere in the future.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rapidminer.tools.LogService.FATAL">Constant Field Values</A></DL></DL><HR><A NAME="MAXIMUM"><!-- --></A><H3>MAXIMUM</H3><PRE>public static final int <B>MAXIMUM</B></PRE><DL><DD>Normally this log verbosity should not be used by operators. Messages with this verbosity will always be displayed.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rapidminer.tools.LogService.MAXIMUM">Constant Field Values</A></DL></DL><HR><A NAME="OFF"><!-- --></A><H3>OFF</H3><PRE>public static final int <B>OFF</B></PRE><DL><DD>For switching off logging during testing.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rapidminer.tools.LogService.OFF">Constant Field Values</A></DL></DL><HR><A NAME="LOG_VERBOSITY_NAMES"><!-- --></A><H3>LOG_VERBOSITY_NAMES</H3><PRE>public static final java.lang.String[] <B>LOG_VERBOSITY_NAMES</B></PRE><DL><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="LogService(com.rapidminer.Process)"><!-- --></A><H3>LogService</H3><PRE>public <B>LogService</B>(<A HREF="../../../com/rapidminer/Process.html" title="class in com.rapidminer">Process</A>&nbsp;process)           throws <A HREF="../../../com/rapidminer/parameter/UndefinedParameterError.html" title="class in com.rapidminer.parameter">UndefinedParameterError</A></PRE><DL><DD>Creates a log service for this process. The properties  (possible log file and log verbosity) are taken from the process parameters.<P><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../com/rapidminer/parameter/UndefinedParameterError.html" title="class in com.rapidminer.parameter">UndefinedParameterError</A></CODE></DL></DL><HR><A NAME="LogService(com.rapidminer.Process, int)"><!-- --></A><H3>LogService</H3><PRE>public <B>LogService</B>(<A HREF="../../../com/rapidminer/Process.html" title="class in com.rapidminer">Process</A>&nbsp;process,                  int&nbsp;logVerbosity)           throws <A HREF="../../../com/rapidminer/parameter/UndefinedParameterError.html" title="class in com.rapidminer.parameter">UndefinedParameterError</A></PRE><DL><DD>Creates a log service for this process. The properties  (possible log file and log verbosity) are taken from the process parameters. If the given logVerbosity is a valid  verbosity level, then this level is used instead of the level defined in the process. Otherwise, the given log  verbosity must have value UNKNOWN_LEVEL and the process level will be used.<P><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../com/rapidminer/parameter/UndefinedParameterError.html" title="class in com.rapidminer.parameter">UndefinedParameterError</A></CODE></DL></DL><!-- ============ METHOD DETAIL ========== -->

⌨️ 快捷键说明

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