prolog.ui
Class ConsoleLogger

java.lang.Object
  |
  +--prolog.ui.ConsoleLogger
All Implemented Interfaces:
ILogger

public class ConsoleLogger
extends java.lang.Object
implements ILogger


Field Summary
protected  Console console
           
 
Constructor Summary
ConsoleLogger(Console c)
           
 
Method Summary
 void msg(java.lang.String text)
          simple log call
 void msg(java.lang.String text, int depth)
          log call with some tabs('\t') before
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

console

protected Console console
Constructor Detail

ConsoleLogger

public ConsoleLogger(Console c)
Method Detail

msg

public void msg(java.lang.String text)
Description copied from interface: ILogger
simple log call
Specified by:
msg in interface ILogger
Following copied from interface: prolog.model.ILogger
Parameters:
msg - is the message

msg

public void msg(java.lang.String text,
                int depth)
Description copied from interface: ILogger
log call with some tabs('\t') before
Specified by:
msg in interface ILogger
Following copied from interface: prolog.model.ILogger
Parameters:
msg - is the message
depth - is the number of tabs