weka.gui
Class SysErrLog

java.lang.Object
  extended byweka.gui.SysErrLog
All Implemented Interfaces:
Logger

public class SysErrLog
extends java.lang.Object
implements Logger

This Logger just sends messages to System.err.

Version:
$Revision: 1.3 $
Author:
Len Trigg (trigg@cs.waikato.ac.nz)

Constructor Summary
SysErrLog()
           
 
Method Summary
protected static java.lang.String getTimestamp()
          Gets a string containing current date and time.
 void logMessage(java.lang.String message)
          Sends the supplied message to the log area.
 void statusMessage(java.lang.String message)
          Sends the supplied message to the status line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SysErrLog

public SysErrLog()
Method Detail

getTimestamp

protected static java.lang.String getTimestamp()
Gets a string containing current date and time.

Returns:
a string containing the date and time.

logMessage

public void logMessage(java.lang.String message)
Sends the supplied message to the log area. The current timestamp will be prepended.

Specified by:
logMessage in interface Logger
Parameters:
message - a value of type 'String'

statusMessage

public void statusMessage(java.lang.String message)
Sends the supplied message to the status line.

Specified by:
statusMessage in interface Logger
Parameters:
message - the status message