Methods for Logger Class
The table lists the methods for the Logger class.
| Method | Return Value | Description | Read Only |
|---|---|---|---|
fatal(String message) |
Void | Logs the given messages at the
fatal
logging level.
|
|
error(String message) |
Void | Logs the given messages at the
error
logging level.
|
|
warn(String message) |
Void | Logs the given messages at the
warn
logging level.
|
|
info(String message) |
Void | Logs the given messages at the
info
logging level.
|
|
debug(String message) |
Void | Logs the given messages at the
debug logging level.
|
|
trace(String message) |
Void | Logs the given messages at the
trace
logging level.
|
|
fatalEnabled |
Boolean | Checks whether the
Fatal
logging level is enabled. It returns
true if the logging level is enabled, and
false otherwise.
|
Y |
errorEnabled |
Boolean | Checks whether the
Error logging level is enabled. It returns
true if the logging level is enabled, and
false otherwise.
|
Y |
warnEnabled |
Boolean | Checks whether the
Warn logging level is enabled. It returns
true if the logging level is enabled, and
false otherwise.
|
Y |
infoEnabled |
Boolean | Checks whether the
Info
logging level is enabled. It returns
true if the logging level is enabled, and
false otherwise.
|
|
debugEnabled |
Boolean | Checks whether the
Debug
logging level is enabled. It returns
true if the logging level is enabled, and
false otherwise.
|
Y |
traceEnabled |
Boolean | Checks whether the
Trace
logging level is enabled. It returns
true if the logging level is enabled, and
false otherwise.
|
Y |
| asdasd
asdasd |
|||
| asdas
asdasd |