info.informatica.log
Class BaseLogger

java.lang.Object
  extended by info.informatica.log.BaseLogger
All Implemented Interfaces:
Logger
Direct Known Subclasses:
ExtendedLogger

public abstract class BaseLogger
extends Object
implements Logger

Logger base abstract class

Version:
1.00, enero 2001
Author:
amengual at informatica dot info

Field Summary
 
Fields inherited from interface info.informatica.log.Logger
LOG_ALERT, LOG_CRIT, LOG_DEBUG, LOG_EMERG, LOG_ERR, LOG_INFO, LOG_NOTICE, LOG_WARNING
 
Constructor Summary
BaseLogger()
          Constructor
 
Method Summary
abstract  void closeLog()
           
 String getLogDate()
           
abstract  void log(int level, String s)
          This must be implemented by Loggers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseLogger

public BaseLogger()
Constructor

Method Detail

getLogDate

public String getLogDate()
Returns:
a String with the current date according to the specified format

log

public abstract void log(int level,
                         String s)
This must be implemented by Loggers

Specified by:
log in interface Logger
Parameters:
level - Log level
s - Log message

closeLog

public abstract void closeLog()