public class MethodEntryLogEvent extends MethodLogEvent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
MethodEntryLogEvent(java.sql.Timestamp time,
java.lang.String thread,
IOutputManager outputMgr,
java.lang.String aComponentName,
java.lang.String aClassName,
java.lang.String aMethodName)
Constructor for MethodEntryLogEvent.
|
MethodEntryLogEvent(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[] param)
Constructor for MethodEntryLogEvent.
|
MethodEntryLogEvent(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 MethodEntryLogEvent.
|
MethodEntryLogEvent(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[] param)
Constructor for MethodEntryLogEvent.
|
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 MethodEntryLogEvent(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 MethodEntryLogEvent(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 MethodEntryLogEvent(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[] param)
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 MethodEntryLogEvent(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[] param)
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 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()