Package weka.core.logging
Class FileLogger
- java.lang.Object
-
- weka.core.logging.Logger
-
- weka.core.logging.ConsoleLogger
-
- weka.core.logging.FileLogger
-
- 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: 7462 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class weka.core.logging.Logger
Logger.Level
-
-
Field Summary
-
Fields inherited from class weka.core.logging.Logger
PROPERTIES_FILE
-
-
Constructor Summary
Constructors Constructor Description FileLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getRevision()
Returns the revision string.-
Methods inherited from class weka.core.logging.Logger
getMinLevel, getSingleton, log, log
-
-
-
-
Method Detail
-
getRevision
public java.lang.String getRevision()
Returns the revision string.- Specified by:
getRevision
in interfaceRevisionHandler
- Overrides:
getRevision
in classConsoleLogger
- Returns:
- the revision
-
-