The class used to log messages in UM Transport. More...
Public Member Functions | |
void | addLogListener (LogListener listener) |
Adds a client provided LogListener to intercept all the log messages from the transport so they can be reported and logged in a custom mechanism. More... | |
boolean | delLogListener (LogListener listener) |
Removes an existing LogListener from the logging mechanism. More... | |
void | log (String msg) |
Write a message to System.err. More... | |
void | log (Throwable th) |
Write the stack trace of the Throwable to System.err. More... | |
Static Public Member Functions | |
static Logger | getLogger () |
Get the active Logger instance. More... | |
The class used to log messages in UM Transport.
void com.softwareag.um.modules.log.Logger.addLogListener | ( | LogListener | listener | ) |
Adds a client provided LogListener to intercept all the log messages from the transport so they can be reported and logged in a custom mechanism.
listener | LogListener to be added to the list |
boolean com.softwareag.um.modules.log.Logger.delLogListener | ( | LogListener | listener | ) |
Removes an existing LogListener from the logging mechanism.
|
static |
void com.softwareag.um.modules.log.Logger.log | ( | String | msg | ) |
Write a message to System.err.
msg | the message to log |
void com.softwareag.um.modules.log.Logger.log | ( | Throwable | th | ) |
Write the stack trace of the Throwable to System.err.
th | the Throwable to log |