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.
|
|
isFatalEnabled() |
Boolean | Checks whether the
Fatal
logging level is enabled. It returns
true if the logging level is enabled, and
false otherwise.
|
Y |
isErrorEnabled() |
Boolean | Checks whether the
Error logging level is enabled. It returns
true if the logging level is enabled, and
false otherwise.
|
Y |
isWarnEnabled() |
Boolean | Checks whether the
Warn logging level is enabled. It returns
true if the logging level is enabled, and
false otherwise.
|
Y |
isInfoEnabled() |
Boolean | Checks whether the
Info
logging level is enabled. It returns
true if the logging level is enabled, and
false otherwise.
|
|
isDebugEnabled() |
Boolean | Checks whether the
Debug
logging level is enabled. It returns
true if the logging level is enabled, and
false otherwise.
|
Y |
isTraceEnabled() |
Boolean | Checks whether the
Trace
logging level is enabled. It returns
true if the logging level is enabled, and
false otherwise.
|
Y |
You can use logRulesConfig.root and logRulesConfig.overrides to modify the root level logger from INFO to the other log levels. You can set logging levels for the package, for example, com.tibco.bpm.se.core=DEBUG.
For more information, see the Logging section, TIBCO BPM Enterprise Administration Guide.