java.lang.Object | +--com.ibm.commerce.ras.LogEvent | +--com.ibm.commerce.ras.MethodLogEvent | +--com.ibm.commerce.ras.MethodEntryLogEvent
MethodEntryLogEvent class is used to define the message text recording the entry to a method.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
Fields inherited from class com.ibm.commerce.ras. MethodLogEvent |
className,
clientId,
componentName,
message,
methodName |
Constructor Summary | |
---|---|
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,
java.lang.String clientId,
IOutputManager outputMgr,
java.lang.String aComponentName, java.lang.String aClassName,
java.lang.String aMethodName) Constructor for MethodEntryLogEvent. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.ibm.commerce.ras. MethodLogEvent |
createCompactMessageHeader,
createMessageFooter,
createMessageHeader,
doCreateHeaderExtention,
getMessage,
isCompactFormat,
print |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
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 entryMethod Detail |
---|
public 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