com.aurigalogic.aurigadoc.logger
Class DefaultLogger

java.lang.Object
  |
  +--com.aurigalogic.aurigadoc.logger.DefaultLogger
All Implemented Interfaces:
Logger

public class DefaultLogger
extends java.lang.Object
implements Logger

This class provides the default implementation of the Logger interface.

Version:
$Revision: 1.3 $ $Date: 2003/11/06 10:04:47 $
Author:
Khurshidali Shaikh

Constructor Summary
DefaultLogger()
           
 
Method Summary
 void debug(java.lang.String msg)
          Log the given msg as debug.
 void error(java.lang.String msg, java.lang.Exception e)
          Log the given msg as error.
 void info(java.lang.String msg)
          Log the given msg as info.
 void warn(java.lang.String msg)
          Log the given msg as warning.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLogger

public DefaultLogger()
Method Detail

info

public void info(java.lang.String msg)
Log the given msg as info.

Specified by:
info in interface Logger
Parameters:
msg - message to log.

error

public void error(java.lang.String msg,
                  java.lang.Exception e)
Log the given msg as error.

Specified by:
error in interface Logger
Parameters:
msg - message to log.
e - exception to log.

debug

public void debug(java.lang.String msg)
Log the given msg as debug.

Specified by:
debug in interface Logger
Parameters:
msg - message to log.

warn

public void warn(java.lang.String msg)
Log the given msg as warning.

Specified by:
warn in interface Logger
Parameters:
msg - message to log.


Copyright © 2000, 2003 Auriga Logic Pvt. Ltd. All Rights Reserved.