📄 logservice.html
字号:
<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="getGlobal()"><!-- --></A><H3>getGlobal</H3><PRE>public static <A HREF="../../../com/rapidminer/tools/LogService.html" title="class in com.rapidminer.tools">LogService</A> <B>getGlobal</B>()</PRE><DL><DD>Returns the global logging. If no logging was otherwise create, this method creates the default standard out log service if no log file was defined in the property <A HREF="../../../com/rapidminer/RapidMiner.html#PROPERTY_RAPIDMINER_GLOBAL_LOG_FILE"><CODE>RapidMiner.PROPERTY_RAPIDMINER_GLOBAL_LOG_FILE</CODE></A>. Alternatively, developers can invoke the method <A HREF="../../../com/rapidminer/tools/LogService.html#initGlobalLogging(java.io.OutputStream, int)"><CODE>initGlobalLogging(OutputStream, int)</CODE></A>.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="initGlobalLogging(java.io.OutputStream, int)"><!-- --></A><H3>initGlobalLogging</H3><PRE>public static void <B>initGlobalLogging</B>(java.io.OutputStream out, int logVerbosity)</PRE><DL><DD>Initializes the global logging, i.e. the global log service not bound to a concrete process. Usually, system out or the message viewer (GUI) are used for global log messages.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="initGUI()"><!-- --></A><H3>initGUI</H3><PRE>public void <B>initGUI</B>() throws <A HREF="../../../com/rapidminer/parameter/UndefinedParameterError.html" title="class in com.rapidminer.parameter">UndefinedParameterError</A></PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../com/rapidminer/parameter/UndefinedParameterError.html" title="class in com.rapidminer.parameter">UndefinedParameterError</A></CODE></DL></DD></DL><HR><A NAME="flush()"><!-- --></A><H3>flush</H3><PRE>public void <B>flush</B>()</PRE><DL><DD>Flush the streams.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setVerbosityLevel(int)"><!-- --></A><H3>setVerbosityLevel</H3><PRE>public void <B>setVerbosityLevel</B>(int level)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getVerbosityLevel()"><!-- --></A><H3>getVerbosityLevel</H3><PRE>public int <B>getVerbosityLevel</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isSufficientLogVerbosity(int)"><!-- --></A><H3>isSufficientLogVerbosity</H3><PRE>public boolean <B>isSufficientLogVerbosity</B>(int level)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="logMessage(java.lang.String, int)"><!-- --></A><H3>logMessage</H3><PRE><FONT SIZE="-1">@Deprecated</FONT>public static void <B>logMessage</B>(java.lang.String message, int verbosityLevel)</PRE><DL><DD><B>Deprecated.</B> <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><P><DD>Writes the message to the output stream if the verbosity level is high enough.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="log(java.lang.String, int)"><!-- --></A><H3>log</H3><PRE>public void <B>log</B>(java.lang.String message, int verbosityLevel)</PRE><DL><DD>Writes the message to the output stream if the verbosity level is high enough.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="logFinalException(java.lang.String, com.rapidminer.Process, java.lang.Throwable, boolean)"><!-- --></A><H3>logFinalException</H3><PRE>public void <B>logFinalException</B>(java.lang.String message, <A HREF="../../../com/rapidminer/Process.html" title="class in com.rapidminer">Process</A> process, java.lang.Throwable exception, boolean debugMode)</PRE><DL><DD>Writes the message and the stack trace of the exception. This method should not be used from operators but only at the end of processes. This will be ensured by RapidMiner itself. If RapidMiner is not used in debug mode, the stack trace will not be shown.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getLogFile()"><!-- --></A><H3>getLogFile</H3><PRE>public java.io.File <B>getLogFile</B>()</PRE><DL><DD>Returns the current log file or null.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="log(java.lang.String)"><!-- --></A><H3>log</H3><PRE>public void <B>log</B>(java.lang.String message)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../com/rapidminer/tools/LoggingHandler.html#log(java.lang.String)">LoggingHandler</A></CODE></B></DD><DD>Logs a status message with the correct log service.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/rapidminer/tools/LoggingHandler.html#log(java.lang.String)">log</A></CODE> in interface <CODE><A HREF="../../../com/rapidminer/tools/LoggingHandler.html" title="interface in com.rapidminer.tools">LoggingHandler</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="logError(java.lang.String)"><!-- --></A><H3>logError</H3><PRE>public void <B>logError</B>(java.lang.String message)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../com/rapidminer/tools/LoggingHandler.html#logError(java.lang.String)">LoggingHandler</A></CODE></B></DD><DD>Logs an error message with the correct log service.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/rapidminer/tools/LoggingHandler.html#logError(java.lang.String)">logError</A></CODE> in interface <CODE><A HREF="../../../com/rapidminer/tools/LoggingHandler.html" title="interface in com.rapidminer.tools">LoggingHandler</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="logNote(java.lang.String)"><!-- --></A><H3>logNote</H3><PRE>public void <B>logNote</B>(java.lang.String message)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../com/rapidminer/tools/LoggingHandler.html#logNote(java.lang.String)">LoggingHandler</A></CODE></B></DD><DD>Logs a note message with the correct log service.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/rapidminer/tools/LoggingHandler.html#logNote(java.lang.String)">logNote</A></CODE> in interface <CODE><A HREF="../../../com/rapidminer/tools/LoggingHandler.html" title="interface in com.rapidminer.tools">LoggingHandler</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="logWarning(java.lang.String)"><!-- --></A><H3>logWarning</H3><PRE>public void <B>logWarning</B>(java.lang.String message)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../com/rapidminer/tools/LoggingHandler.html#logWarning(java.lang.String)">LoggingHandler</A></CODE></B></DD><DD>Logs a warning message with the correct log service.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/rapidminer/tools/LoggingHandler.html#logWarning(java.lang.String)">logWarning</A></CODE> in interface <CODE><A HREF="../../../com/rapidminer/tools/LoggingHandler.html" title="interface in com.rapidminer.tools">LoggingHandler</A></CODE></DL></DD><DD><DL></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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/LogService.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=114160&type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../com/rapidminer/tools/LoggingHandler.html" title="interface in com.rapidminer.tools"><B>PREV CLASS</B></A> <A HREF="../../../com/rapidminer/tools/ObjectVisualizerService.html" title="class in com.rapidminer.tools"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?com/rapidminer/tools/LogService.html" target="_top"><B>FRAMES</B></A> <A HREF="LogService.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright © 2001-2008 by <a href="http://rapid-i.com" target="_blank">Rapid-I</a></i></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -