public class MethodExitLogEvent extends MethodLogEvent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
MethodExitLogEvent(java.sql.Timestamp time,
java.lang.String thread,
IOutputManager outputMgr,
java.lang.String aComponentName,
java.lang.String aClassName,
java.lang.String aMethodName)
Constructor for MethodExitLogEvent.
|
MethodExitLogEvent(java.sql.Timestamp time,
java.lang.String thread,
IOutputManager outputMgr,
java.lang.String aComponentName,
java.lang.String aClassName,
java.lang.String aMethodName,
java.lang.Object retValue)
Constructor for MethodExitLogEvent.
|
MethodExitLogEvent(java.sql.Timestamp time,
java.lang.String thread,
java.lang.String clientId,
IOutputManager outputMgr,
java.lang.String aComponentName,
java.lang.String aClassName,
java.lang.String aMethodName)
Constructor for MethodExitLogEvent.
|
MethodExitLogEvent(java.sql.Timestamp time,
java.lang.String thread,
java.lang.String clientId,
IOutputManager outputMgr,
java.lang.String aComponentName,
java.lang.String aClassName,
java.lang.String aMethodName,
java.lang.Object retValue)
Constructor for MethodExitLogEvent.
|
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 MethodExitLogEvent(java.sql.Timestamp time, java.lang.String thread, IOutputManager outputMgr, java.lang.String aComponentName, java.lang.String aClassName, java.lang.String aMethodName)
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 entrypublic MethodExitLogEvent(java.sql.Timestamp time, java.lang.String thread, IOutputManager outputMgr, java.lang.String aComponentName, java.lang.String aClassName, java.lang.String aMethodName, java.lang.Object retValue)
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 entryretValue
- the return object to include more debug infopublic MethodExitLogEvent(java.sql.Timestamp time, java.lang.String thread, java.lang.String clientId, IOutputManager outputMgr, java.lang.String aComponentName, java.lang.String aClassName, java.lang.String aMethodName)
time
- the timestamp of the trace entrythread
- the thread that entry is generated byclientId
- 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 entrypublic MethodExitLogEvent(java.sql.Timestamp time, java.lang.String thread, java.lang.String clientId, IOutputManager outputMgr, java.lang.String aComponentName, java.lang.String aClassName, java.lang.String aMethodName, java.lang.Object retValue)
time
- the timestamp of the trace entrythread
- the thread that entry is generated byclientId
- 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 entryretValue
- the return object to include more debug infopublic java.lang.String createMessageBody()
createMessageBody
in class MethodLogEvent
public java.lang.String getCompactMessageBody()
getCompactMessageBody
in class MethodLogEvent
public java.lang.String getMessageBody()
getMessageBody
in class MethodLogEvent
public void print()