isql.util
Class SystemLogger

java.lang.Object
  extended by isql.util.SystemLogger
All Implemented Interfaces:
ILogger

public class SystemLogger
extends java.lang.Object
implements ILogger

Default implementation of the ILogger wrapper that uses the System streams (System.out, System.err). Used in the tests

Author:
SHZ Apr 7, 2008

Constructor Summary
SystemLogger()
           
 
Method Summary
 void debug(java.lang.String msg)
          Logs a debug message
 void error(java.lang.String msg)
          Logs an error
 void error(java.lang.String msg, java.lang.Throwable thrown)
          Logs an error with an exception
 void info(java.lang.String msg)
          Logs an information message
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemLogger

public SystemLogger()
Method Detail

debug

public void debug(java.lang.String msg)
Description copied from interface: ILogger
Logs a debug message

Specified by:
debug in interface ILogger
Parameters:
msg - the debug messsage

error

public void error(java.lang.String msg,
                  java.lang.Throwable thrown)
Description copied from interface: ILogger
Logs an error with an exception

Specified by:
error in interface ILogger
Parameters:
msg - the error text
thrown - the exception

error

public void error(java.lang.String msg)
Description copied from interface: ILogger
Logs an error

Specified by:
error in interface ILogger
Parameters:
msg - the error text

info

public void info(java.lang.String msg)
Description copied from interface: ILogger
Logs an information message

Specified by:
info in interface ILogger
Parameters:
msg - the info message