| java.lang.Object org.mandarax.util.logging.SimpleLogger
SimpleLogger | public class SimpleLogger implements Logger(Code) | | Simple logger - everything is logged to System.out or System.err.
This is only a dummy and it is not recommended to use it.
See Also: LoggerFactory author: Jens Dietrich version: 3.4 <7 March 05> since: 2.3.1 |
SimpleLogger | SimpleLogger(String loggerName)(Code) | | Constructor.
Parameters: the - name of the logger. |
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 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 a 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 message.
Parameters: message - a message |
|
|