Abstract wrapper class for the logging interface of choice.
The methods declared here are the same as those for the log4j
Method from jxl.common.Logger Detail: |
abstract public void debug(Object message)
|
abstract public void debug(Object message,
Throwable t)
Log a debug message and exception |
abstract public void error(Object message)
|
abstract public void error(Object message,
Throwable t)
Log an error message object and exception |
abstract public void fatal(Object message)
|
abstract public void fatal(Object message,
Throwable t)
Log a fatal message and exception |
public static final Logger getLogger(Class cl) {
if (logger == null)
{
initializeLogger();
}
return logger.getLoggerImpl(cl);
}
Factory method to return the logger |
abstract protected Logger getLoggerImpl(Class cl)
Accessor to the logger implementation |
abstract public void info(Object message)
Log an information message |
abstract public void info(Object message,
Throwable t)
Logs an information message and an exception |
public void setSuppressWarnings(boolean w) {
// default implementation does nothing
}
Empty implementation of the suppressWarnings. Subclasses may
or may not override this method. This method is included
primarily for backwards support of the jxl.nowarnings property, and
is used only by the SimpleLogger |
abstract public void warn(Object message)
Log a warning message object |
abstract public void warn(Object message,
Throwable t)
Log a warning message with exception |