| java.lang.Object org.jpox.util.JPOXLogger org.jpox.util.JDK14Logger
JDK14Logger | public class JDK14Logger extends JPOXLogger (Code) | | JDK1.4 logger (java.util.logging) implementation of a JPOXLogger.
Assumes that all configuration of the loggers are done by external
configuration (System property "java.util.logging.config.file").
Maps JPOX logging levels as follows :
- debug maps to java.util.logging fine
- info maps to java.util.logging info
- warn maps to java.util.logging warning
- error maps to java.util.logging severe
- fatal maps to java.util.logging severe
version: $Revision: 1.4 $ |
Constructor Summary | |
public | JDK14Logger(String logName) Constructor for a JDK 1.4 Logger. |
JDK14Logger | public JDK14Logger(String logName)(Code) | | Constructor for a JDK 1.4 Logger.
Parameters: logName - Name of the logger |
debug | public void debug(Object msg)(Code) | | Log a debug message.
Parameters: msg - The message |
debug | public void debug(Object msg, Throwable thr)(Code) | | Log a debug message with throwable.
Parameters: msg - The message Parameters: thr - A throwable |
error | public void error(Object msg)(Code) | | Log an error message.
Parameters: msg - The message |
error | public void error(Object msg, Throwable thr)(Code) | | Log an error message with throwable.
Parameters: msg - The message Parameters: thr - A throwable |
fatal | public void fatal(Object msg)(Code) | | Log a fatal message.
Parameters: msg - The message |
fatal | public void fatal(Object msg, Throwable thr)(Code) | | Log a fatal message with throwable.
Parameters: msg - The message Parameters: thr - A throwable |
info | public void info(Object msg)(Code) | | Log an info message.
Parameters: msg - The message |
info | public void info(Object msg, Throwable thr)(Code) | | Log an info message with throwable.
Parameters: msg - The message Parameters: thr - A throwable |
isDebugEnabled | public boolean isDebugEnabled()(Code) | | Accessor for whether debug logging is enabled
Whether it is enabled |
isInfoEnabled | public boolean isInfoEnabled()(Code) | | Accessor for whether info logging is enabled
Whether it is enabled |
warn | public void warn(Object msg)(Code) | | Log a warning message.
Parameters: msg - The message |
warn | public void warn(Object msg, Throwable thr)(Code) | | Log a warning message with throwable.
Parameters: msg - The message Parameters: thr - A throwable |
|
|