Logging
Logging API using high-performance underlying framework - logback.
Basic Usage
Functions
| Function |
Description |
Returns |
| getLogger(name) |
Returns the Logger object by this name |
Logger |
Objects
Logger
| Function |
Description |
Returns |
| info(message, args?) |
Logs the message with the INFO log level |
- |
| warn(message, args?) |
Logs the message with the WARN log level |
- |
| error(message, args?) |
Logs the message with the ERROR log level |
- |
| debug(message, args?) |
Logs the message with the DEBUG log level |
- |
| trace(message, args?) |
Logs the message with the TRACE log level |
- |
| log(message, level, args?) |
Logs the message with the provided log level and optional message parameters |
- |
| isDebugEnabled() |
Is the logger instance enabled for the DEBUG level |
boolean |
| isErrorEnabled() |
Is the logger instance enabled for the ERROR level |
boolean |
| isWarnEnabled() |
Is the logger instance enabled for the WARN level |
boolean |
| isInfoEnabled() |
Is the logger instance enabled for the INFO level |
boolean |
| isTraceEnabled() |
Is the logger instance enabled for the TRACE level |
boolean |
| setLevel(level) |
Sets the log level ('INFO', 'WARN', 'ERROR', 'DEBUG', 'TRACE') |
- |