weka.core.logging
Class FileLogger

java.lang.Object
  extended by weka.core.logging.Logger
      extended by weka.core.logging.ConsoleLogger
          extended by 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
FileLogger()
           
 
Method Summary
 java.lang.String getRevision()
          Returns the revision string.
 
Methods inherited from class weka.core.logging.Logger
getMinLevel, getSingleton, log, log
 
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 in interface RevisionHandler
Overrides:
getRevision in class ConsoleLogger
Returns:
the revision