testsgen.wttools
Class LogImpl

java.lang.Object
  |
  +--testsgen.wttools.LogImpl
All Implemented Interfaces:
LogIfc

public class LogImpl
extends java.lang.Object
implements LogIfc

LogImpl.java contains implementation of log subsystem used in unittestsgen project. All generated messages should be displayed only with using methods of this class. Note that it contains both debug and user messages. At the moment this implementation has capability of displaing debug messages to stderr and user messages to stdout.

In future it will contains capability of sending logs to files and generating messages in different formats: XML, RAW - (plain text), HTML, and so on.

Created: Mon Dec 3 23:35:47 2001

Version:
$Revision: 1.7 $
Author:
Artur Hefczyc

Field Summary
protected  boolean debug
           
protected  boolean quiet
           
 
Constructor Summary
LogImpl()
           
 
Method Summary
 void deb(java.lang.String str)
           
 void debln()
           
 void debln(java.lang.String str)
           
 void log(java.lang.String param1)
           
 void logError(java.lang.String errmsg)
           
 void logException(java.lang.String param1, java.lang.Exception param2)
           
 void logWarning(java.lang.String param1)
           
 void msg(java.lang.String str)
           
 void msgln()
           
 void msgln(java.lang.String str)
           
 void setDebug(boolean debug)
           
 void setQuiet(boolean quiet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

protected boolean debug

quiet

protected boolean quiet
Constructor Detail

LogImpl

public LogImpl()
Method Detail

setDebug

public void setDebug(boolean debug)
Specified by:
setDebug in interface LogIfc
Parameters:
debug -

setQuiet

public void setQuiet(boolean quiet)
Specified by:
setQuiet in interface LogIfc
Parameters:
quiet -

log

public void log(java.lang.String param1)
Specified by:
log in interface LogIfc
Parameters:
param1 -

logException

public void logException(java.lang.String param1,
                         java.lang.Exception param2)
Specified by:
logException in interface LogIfc
Parameters:
param1 -
param2 -

logWarning

public void logWarning(java.lang.String param1)
Specified by:
logWarning in interface LogIfc
Parameters:
param1 -

logError

public void logError(java.lang.String errmsg)
Specified by:
logError in interface LogIfc
Parameters:
param1 -

deb

public void deb(java.lang.String str)
Specified by:
deb in interface LogIfc

debln

public void debln(java.lang.String str)
Specified by:
debln in interface LogIfc

debln

public void debln()
Specified by:
debln in interface LogIfc

msg

public void msg(java.lang.String str)
Specified by:
msg in interface LogIfc

msgln

public void msgln(java.lang.String str)
Specified by:
msgln in interface LogIfc

msgln

public void msgln()
Specified by:
msgln in interface LogIfc


Copyright GNU, wttools developers Team.