OutputLogger (original) (raw)
java.lang.Object
- weka.core.logging.Logger
- weka.core.logging.ConsoleLogger
- weka.core.logging.FileLogger
* * weka.core.logging.OutputLogger
- weka.core.logging.FileLogger
- weka.core.logging.ConsoleLogger
All Implemented Interfaces:
RevisionHandler
public class OutputLogger
extends FileLogger
A logger that logs all output on stdout and stderr to a file.
Version: Revision:4716Revision: 4716 Revision:4716
Author:
fracpete (fracpete at waikato dot ac dot nz)
Nested Class Summary
Nested Classes
Modifier and Type Class and Description static class OutputLogger.OutputPrintStream A print stream class to capture all data from stdout and stderr. * ### Nested classes/interfaces inherited from class weka.core.logging.[Logger](../../../weka/core/logging/Logger.html "class in weka.core.logging") `[Logger.Level](../../../weka/core/logging/Logger.Level.html "enum in weka.core.logging")`
Field Summary
* ### Fields inherited from class weka.core.logging.[Logger](../../../weka/core/logging/Logger.html "class in weka.core.logging") `[PROPERTIES_FILE](../../../weka/core/logging/Logger.html#PROPERTIES%5FFILE)`
Constructor Summary
Constructors
Constructor and Description OutputLogger() Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type Method and Description java.lang.String getRevision() Returns the revision string. * ### Methods inherited from class weka.core.logging.[Logger](../../../weka/core/logging/Logger.html "class in weka.core.logging") `[getMinLevel](../../../weka/core/logging/Logger.html#getMinLevel--), [getSingleton](../../../weka/core/logging/Logger.html#getSingleton--), [log](../../../weka/core/logging/Logger.html#log-weka.core.logging.Logger.Level-java.lang.String-), [log](../../../weka/core/logging/Logger.html#log-weka.core.logging.Logger.Level-java.lang.Throwable-)` * ### Methods inherited from class java.lang.Object `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
Constructor Detail
* #### OutputLogger public OutputLogger()
Method Detail
* #### getRevision public java.lang.String getRevision() Returns the revision string. Specified by: `[getRevision](../../../weka/core/RevisionHandler.html#getRevision--)` in interface `[RevisionHandler](../../../weka/core/RevisionHandler.html "interface in weka.core")` Overrides: `[getRevision](../../../weka/core/logging/FileLogger.html#getRevision--)` in class `[FileLogger](../../../weka/core/logging/FileLogger.html "class in weka.core.logging")` Returns: the revision