| Modifier and Type | Field and Description |
|---|---|
| public static final int | LEVEL_DEBUG
Typecode for debugging messages. |
| public static final int | LEVEL_DISABLED
Typecode for disabled log levels. |
| public static final int | LEVEL_ERROR
Typecode for error messages. |
| public static final int | LEVEL_FATAL
Typecode for fatal error messages. |
| public static final int | LEVEL_INFO
Typecode for informational messages. |
| public static final int | LEVEL_WARN
Typecode for warning messages. |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | debug(final String
a message)String valueImplements org. |
| public void | debug(final String
a message, final Throwable String valuea throwable)Throwable valueImplements org. |
| public void | error(final String
a message)String valueImplements org. |
| public void | error(final String
a message, final Throwable String valuea throwable)Throwable valueImplements org. |
| public void | fatalError(final String
a message)String valueImplements org. |
| public void | fatalError(final String
a message, final Throwable String valuea throwable)Throwable valueImplements org. |
| public Logger | Returns: this loggerignored name)Implements org. ConsoleLogger is not hierarchical).
|
| public void | info(final String
a message)String valueImplements org. |
| public void | info(final String
a message, final Throwable String valuea throwable)Throwable valueImplements org. |
| public boolean | Returns: true if debug-level loggingImplements org. true if debug-level logging is enabled, false otherwise.
|
| public boolean | Returns: true if error-level logging is enabledImplements org. true if error-level logging is enabled, false otherwise.
|
| public boolean | Returns: true if fatal-level logging is enabledImplements org. true if fatal-level logging is enabled, false otherwise.
|
| public boolean | Returns: true if info-level logging is enabledImplements org. true if info-level logging is enabled, false otherwise.
|
| public boolean | Returns: true if warn-level logging is enabledImplements org. true if warn-level logging is enabled, false otherwise.
|
| public void | warn(final String
a message)String valueImplements org. |
| public void | warn(final String
a message, final Throwable String valuea throwable)Throwable valueImplements org. |
| LEVEL_DEBUG | back to summary |
|---|---|
| public static final int LEVEL_DEBUG Typecode for debugging messages. | |
| LEVEL_DISABLED | back to summary |
|---|---|
| public static final int LEVEL_DISABLED Typecode for disabled log levels. | |
| LEVEL_ERROR | back to summary |
|---|---|
| public static final int LEVEL_ERROR Typecode for error messages. | |
| LEVEL_FATAL | back to summary |
|---|---|
| public static final int LEVEL_FATAL Typecode for fatal error messages. | |
| LEVEL_INFO | back to summary |
|---|---|
| public static final int LEVEL_INFO Typecode for informational messages. | |
| LEVEL_WARN | back to summary |
|---|---|
| public static final int LEVEL_WARN Typecode for warning messages. | |
| m_logLevel | back to summary |
|---|---|
| private final int m_logLevel | |
| ConsoleLogger | back to summary |
|---|---|
| public ConsoleLogger() Creates a new ConsoleLogger with the priority set to DEBUG. | |
| ConsoleLogger | back to summary |
|---|---|
| public ConsoleLogger(final int logLevel) Creates a new ConsoleLogger.
| |
| debug | back to summary |
|---|---|
| public void debug(final String message) Implements org. Logs a debugging message.
| |
| debug | back to summary |
|---|---|
| public void debug(final String message, final Throwable throwable) Implements org. Logs a debugging message and an exception. | |
| error | back to summary |
|---|---|
| public void error(final String message) Implements org. Logs an error message.
| |
| error | back to summary |
|---|---|
| public void error(final String message, final Throwable throwable) Implements org. Logs an error message and an exception. | |
| fatalError | back to summary |
|---|---|
| public void fatalError(final String message) Implements org. Logs a fatal error message.
| |
| fatalError | back to summary |
|---|---|
| public void fatalError(final String message, final Throwable throwable) Implements org. Logs a fatal error message and an exception. | |
| getChildLogger | back to summary |
|---|---|
| public Logger getChildLogger(final String name) Implements org. Just returns this logger ( | |
| info | back to summary |
|---|---|
| public void info(final String message) Implements org. Logs an informational message.
| |
| info | back to summary |
|---|---|
| public void info(final String message, final Throwable throwable) Implements org. Logs an informational message and an exception. | |
| isDebugEnabled | back to summary |
|---|---|
| public boolean isDebugEnabled() Implements org. Returns
| |
| isErrorEnabled | back to summary |
|---|---|
| public boolean isErrorEnabled() Implements org. Returns
| |
| isFatalErrorEnabled | back to summary |
|---|---|
| public boolean isFatalErrorEnabled() Implements org. Returns
| |
| isInfoEnabled | back to summary |
|---|---|
| public boolean isInfoEnabled() Implements org. Returns
| |
| isWarnEnabled | back to summary |
|---|---|
| public boolean isWarnEnabled() Implements org. Returns
| |
| warn | back to summary |
|---|---|
| public void warn(final String message) Implements org. Logs a warning message.
| |
| warn | back to summary |
|---|---|
| public void warn(final String message, final Throwable throwable) Implements org. Logs a warning message and an exception. | |