FileLogger (original) (raw)
java.lang.Object
- weka.core.logging.Logger
- weka.core.logging.ConsoleLogger
- weka.core.logging.FileLogger
- weka.core.logging.ConsoleLogger
All Implemented Interfaces:
RevisionHandler
Direct Known Subclasses:
OutputLogger
public class FileLogger
extends ConsoleLogger
A simple file logger, that just logs to a single file. Deletes the file when an object gets instantiated.
Version: Revision:7462Revision: 7462 Revision:7462
Author:
fracpete (fracpete at waikato dot ac dot nz)
Nested Class Summary
* ### 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 FileLogger() 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
* #### FileLogger public FileLogger()
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/ConsoleLogger.html#getRevision--)` in class `[ConsoleLogger](../../../weka/core/logging/ConsoleLogger.html "class in weka.core.logging")` Returns: the revision