public class DefaultMessageLogFactory extends Object implements LogRecordFactory
Constructor and Description |
---|
DefaultMessageLogFactory() |
Modifier and Type | Method and Description |
---|---|
LogRecord |
createLogRecord(String message,
String source,
String destination,
long timeStamp,
boolean isSender,
String firstLine,
String tid,
String callId,
long timestampVal)
Create a log record.
|
LogRecord |
createLogRecord(String message,
String source,
String destination,
String timeStamp,
boolean isSender,
String firstLine,
String tid,
String callId,
long tsHeaderValue) |
public LogRecord createLogRecord(String message, String source, String destination, String timeStamp, boolean isSender, String firstLine, String tid, String callId, long tsHeaderValue)
public LogRecord createLogRecord(String message, String source, String destination, long timeStamp, boolean isSender, String firstLine, String tid, String callId, long timestampVal)
LogRecordFactory
createLogRecord
in interface LogRecordFactory
message
- -- the message to be logged.source
- -- host:port of the source of the message.destination
- -- host:port of the destination of the message.timeStamp
- -- The time at which this message was seen by the stack or sent out by
the stack.isSender
- -- true if we are sending the message false otherwise.firstLine
- -- the first line of the message to be logged.tid
- -- the transaction idcallId
- -- the call idtimestampVal
- -- the timestamp header value of the incoming message.Copyright © 2018. All Rights Reserved.