public class MethodLogEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
MethodLogEvent(java.sql.Timestamp time,
java.lang.String thread,
IOutputManager outputMgr,
java.lang.String aClassName,
java.lang.String aMethodName,
java.lang.String text)
Constructor for MethodLogEvent.
|
MethodLogEvent(java.sql.Timestamp time,
java.lang.String thread,
IOutputManager outputMgr,
java.lang.String aComponentName,
java.lang.String aClassName,
java.lang.String aMethodName,
java.lang.String text)
Constructor for MethodLogEvent.
|
MethodLogEvent(java.sql.Timestamp time,
java.lang.String thread,
java.lang.String uniqueClientId,
IOutputManager outputMgr,
java.lang.String aClassName,
java.lang.String aMethodName,
java.lang.String text)
Constructor for MethodLogEvent.
|
MethodLogEvent(java.sql.Timestamp time,
java.lang.String thread,
java.lang.String uniqueClientId,
IOutputManager outputMgr,
java.lang.String aComponentName,
java.lang.String aClassName,
java.lang.String aMethodName,
java.lang.String text)
Constructor for MethodLogEvent.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createMessageBody()
Creates the message body.
|
java.lang.String |
getCompactMessageBody()
Gets the message body in compact format.
|
java.lang.String |
getMessageBody()
Gets the message body in detailed format.
|
void |
print()
Print out the message text in specified output manager
|
public static final java.lang.String COPYRIGHT
public MethodLogEvent(java.sql.Timestamp time, java.lang.String thread, IOutputManager outputMgr, java.lang.String aClassName, java.lang.String aMethodName, java.lang.String text)
time
- the timestamp of the trace entrythread
- the thread that entry is generated byoutputMgr
- output device to write the logsaClassName
- class name that generates the entryaMethodName
- method name that generates the entrytext
- the plain text that will be shown in the log filepublic MethodLogEvent(java.sql.Timestamp time, java.lang.String thread, IOutputManager outputMgr, java.lang.String aComponentName, java.lang.String aClassName, java.lang.String aMethodName, java.lang.String text)
time
- the timestamp of the trace entrythread
- the thread that entry is generated byoutputMgr
- output device to write the logsaComponentName
- trace component the entry belongs toaClassName
- class name that generates the entryaMethodName
- method name that generates the entrytext
- the plain text that will be shown in the log filepublic MethodLogEvent(java.sql.Timestamp time, java.lang.String thread, java.lang.String uniqueClientId, IOutputManager outputMgr, java.lang.String aClassName, java.lang.String aMethodName, java.lang.String text)
time
- the timestamp of the trace entrythread
- the thread that entry is generated byuniqueClientId
- the unique Id to represent the client; used to debug double click problemoutputMgr
- output device to write the logsaClassName
- class name that generates the entryaMethodName
- method name that generates the entrytext
- the plain text that will be shown in the log filepublic MethodLogEvent(java.sql.Timestamp time, java.lang.String thread, java.lang.String uniqueClientId, IOutputManager outputMgr, java.lang.String aComponentName, java.lang.String aClassName, java.lang.String aMethodName, java.lang.String text)
time
- the timestamp of the trace entrythread
- the thread that entry is generated byuniqueClientId
- the unique Id to represent the client; used to debug double click problemoutputMgr
- output device to write the logsaComponentName
- trace component the entry belongs toaClassName
- class name that generates the entryaMethodName
- method name that generates the entrytext
- the plain text that will be shown in the log filepublic java.lang.String createMessageBody()
public java.lang.String getCompactMessageBody()
public java.lang.String getMessageBody()
public void print()