org.razvan.jzx
Class ConsoleLogger

java.lang.Object
  extended by org.razvan.jzx.ConsoleLogger
All Implemented Interfaces:
ILogger

public class ConsoleLogger
extends java.lang.Object
implements ILogger

Log messages to the console (System.out), when JZX is running as a regular Frame.

Author:
Razvan Surdulescu (c) 2001 - 2006
You may use and distribute this software for free provided you include this copyright notice. You may not sell this software, use my name for publicity reasons or modify the code without permission from me.
See Also:
ILogger

Field Summary
 
Fields inherited from interface org.razvan.jzx.ILogger
C_DEBUG, C_ERROR
 
Constructor Summary
ConsoleLogger()
           
 
Method Summary
 void log(int channel, java.lang.String message)
          Display the message to System.out.
 void log(int channel, java.lang.Throwable t)
          Display the exception stack trace to System.out.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleLogger

public ConsoleLogger()
Method Detail

log

public void log(int channel,
                java.lang.String message)
Display the message to System.out.

Specified by:
log in interface ILogger

log

public void log(int channel,
                java.lang.Throwable t)
Display the exception stack trace to System.out.

Specified by:
log in interface ILogger