logMessageBean
The fully qualified class name for the bean is
com.ibm.paydir.ima.txacc.app.bridge.LogMessageBean.
LogMessageBean has the following constructors to build an instance:
- a no argument, bean compliant constructor
- a multiple argument constructor that fully populates the bean
| Method name | Takes data type | Description |
|---|---|---|
| setMessageLevel | MessageLevel | Sets the severity level of the logged message. Only the following values are allowed.
The other values are reserved for IBM® internal use only.
com.ibm.icpcs.utilities.logging.MessageLevel class. |
| setMessageId | String | Sets the message identifier of the logged message. The message identifier is a one to
nine character value used to identify messages in the logs. For consistency in the logs, it is recommended
that the message ID use a standard format. The format is
Note: Together, the message prefix and the message number should total eight characters. Depending on the
lengths chosen, the center two characters in the format string (
AA) belong to either the
prefix or the number. |
| setMessageText | String | Sets the actual message text to be logged. For consistency in the format of the log, the message text should start with the nine character message identifier followed by a colon and then by a space. This makes it easier to find the message while looking at the log. |
| setSourceClass | String | Sets the name of the source class that generated the log entry. It must be 254 characters or less. |
| setSourceMethod | String | Sets the name of the source method that generated the log entry. It must be 254 characters or less. |
| setLoggingAppData | LoggingAppData | An instance of a LoggingAppData that identifies the application writing this log entry. For a description of the bean, see loggingAppData bean. |