JDK 1.4 does allow you to have other levels like: CONFIG, FINER, and FINEST. Most projects don't separate out configuration logging from debugging information. Also, we wanted to maintain backwards compatibility as much as possible. Unfortunately, with all the "fineness" details, there is no equivalent to the "error" log level.
| Access | Constructor and Description |
|---|---|
| public | Jdk14Logger(Logger
the jdk1.4 logger instance to delegate to logImpl)Construct a Logger with specified jdk1.4 logger instance as implementation. |
| Modifier and Type | Method and Description |
|---|---|
| public final void | debug(final String
the message message)Implements org. |
| public final void | debug(final String
the message message, final Throwable the throwable throwable)Implements org. |
| public final void | error(final String
the message message)Implements org. |
| public final void | error(final String
the message message, final Throwable the throwable throwable)Implements org. |
| public final void | fatalError(final String
the message message)Implements org. |
| public final void | fatalError(final String
the message message, final Throwable the throwable throwable)Implements org. |
| public final Logger | Returns: the new loggerthe subname of this logger name)Implements org. |
| public final void | info(final String
the message message)Implements org. |
| public final void | info(final String
the message message, final Throwable the throwable throwable)Implements org. |
| public final boolean | Returns: true if "debug" messages will be loggedImplements org. |
| public final boolean | Returns: true if "error" messages will be loggedImplements org. |
| public final boolean | Returns: true if "fatalError" messages will be loggedImplements org. |
| public final boolean | Returns: true if "info" messages will be loggedImplements org. |
| public final boolean | Returns: true if "warn" messages will be loggedImplements org. |
| public final void | warn(final String
the message message)Implements org. |
| public final void | warn(final String
the message message, final Throwable the throwable throwable)Implements org. |
| m_logger | back to summary |
|---|---|
| private final Logger m_logger | |
| Jdk14Logger | back to summary |
|---|---|
| public Jdk14Logger(Logger logImpl) Construct a Logger with specified jdk1.4 logger instance as implementation.
| |
| debug | back to summary |
|---|---|
| public final void debug(final String message) Implements org. Log a debug message.
| |
| debug | back to summary |
|---|---|
| public final void debug(final String message, final Throwable throwable) Implements org. Log a debug message. | |
| error | back to summary |
|---|---|
| public final void error(final String message) Implements org. Log a error message.
| |
| error | back to summary |
|---|---|
| public final void error(final String message, final Throwable throwable) Implements org. Log a error message. | |
| fatalError | back to summary |
|---|---|
| public final void fatalError(final String message) Implements org. Log a fatalError message.
| |
| fatalError | back to summary |
|---|---|
| public final void fatalError(final String message, final Throwable throwable) Implements org. Log a fatalError message. | |
| getChildLogger | back to summary |
|---|---|
| public final Logger getChildLogger(final String name) Implements org. Create a new child logger.
The name of the child logger is [current-loggers-name].[passed-in-name]
Throws | |
| info | back to summary |
|---|---|
| public final void info(final String message) Implements org. Log a info message.
| |
| info | back to summary |
|---|---|
| public final void info(final String message, final Throwable throwable) Implements org. Log a info message. | |
| isDebugEnabled | back to summary |
|---|---|
| public final boolean isDebugEnabled() Implements org. Determine if messages of priority "debug" will be logged.
| |
| isErrorEnabled | back to summary |
|---|---|
| public final boolean isErrorEnabled() Implements org. Determine if messages of priority "error" will be logged.
| |
| isFatalErrorEnabled | back to summary |
|---|---|
| public final boolean isFatalErrorEnabled() Implements org. Determine if messages of priority "fatalError" will be logged.
| |
| isInfoEnabled | back to summary |
|---|---|
| public final boolean isInfoEnabled() Implements org. Determine if messages of priority "info" will be logged.
| |
| isWarnEnabled | back to summary |
|---|---|
| public final boolean isWarnEnabled() Implements org. Determine if messages of priority "warn" will be logged.
| |
| warn | back to summary |
|---|---|
| public final void warn(final String message) Implements org. Log a warn message.
| |
| warn | back to summary |
|---|---|
| public final void warn(final String message, final Throwable throwable) Implements org. Log a warn message. | |