info.informatica.log
Class FileLogger
java.lang.Object
info.informatica.log.BaseLogger
info.informatica.log.ExtendedLogger
info.informatica.log.FileLogger
- All Implemented Interfaces:
- Logger
public class FileLogger
- extends ExtendedLogger
File-based Logger
- Version:
- 1.00, noviembre 1999
- Author:
- amengual at informatica dot info
FileLogger
public FileLogger()
init
public void init(String s)
throws LogConfigException
- Initialize this logger with the filename
- Overrides:
init in class ExtendedLogger
- Parameters:
s - Path to log file
- Throws:
LogConfigException
log
public void log(String ohost,
String clase,
int level,
String s)
- Description copied from class:
ExtendedLogger
- This must be implemented by ExtendedLoggers
- Specified by:
log in class ExtendedLogger
- Parameters:
ohost - Origin hostclase - Class producing the loglevel - Log levels - Log message
log
public void log(String ohost,
String clase,
int level,
Throwable t,
String s)
- Description copied from class:
ExtendedLogger
- This must be implemented by ExtendedLoggers
- Specified by:
log in class ExtendedLogger
- Parameters:
ohost - Origin hostclase - Class producing the loglevel - Log levelt - The throwable exception to be loggeds - Log message
closeLog
public void closeLog()
- Specified by:
closeLog in class BaseLogger