| org.mandarax.util.logging.Logger
All known Subclasses: org.mandarax.util.logging.NullLogger, org.mandarax.util.logging.Log4JLogger, org.mandarax.util.logging.JDKLogger, org.mandarax.util.logging.SimpleLogger,
Logger | public interface Logger (Code) | | Logger interface. Useful to wrap similar logger concepts and keep mandarax independent from
the actual log mechanism in use. Implementation wraps log frameowrks like the JDK (1.4 and later)
log api or apache log4j.
author: Jens Dietrich version: 3.4 <7 March 05> since: 2.3.1 |
debug | public void debug(String message, Throwable exception)(Code) | | Log a debug message.
Parameters: message - a message Parameters: exception - an exception or error |
debug | public void debug(String message)(Code) | | Log a debug message.
Parameters: message - a message |
error | public void error(String message, Throwable exception)(Code) | | Log an error.
Parameters: message - a message Parameters: exception - an exception or error |
error | public void error(String message)(Code) | | Log an error.
Parameters: message - a message |
info | public void info(String message, Throwable exception)(Code) | | Log an info message.
Parameters: message - a message Parameters: exception - an exception or error |
info | public void info(String message)(Code) | | Log an info message.
Parameters: message - a message |
isDebugEnabled | public boolean isDebugEnabled()(Code) | | Indicates whether logging on the DEBUG level is enabled.
a boolean |
isInfoEnabled | public boolean isInfoEnabled()(Code) | | Indicates whether logging on the INFO level is enabled.
a boolean |
warn | public void warn(String message, Throwable exception)(Code) | | Log a warning.
Parameters: message - a message Parameters: exception - an exception or error |
warn | public void warn(String message)(Code) | | Log a warn message.
Parameters: message - a message |
|
|