RTI Distributed Logger API
Version 6.1.2
|
Public Member Functions | |
LogMessageData (int level, String message, String category, Time_t writeTime) | |
LogMessageData (int level, String message, String category) | |
LogMessageData (int level, String message) | |
Public Attributes | |
int | level |
String | message |
String | category |
Time_t | writeTime |
This class encapsulates all parameters that define a log message, including the message itself, log level, category and timestamp.
LogMessageData | ( | int | level, |
String | message, | ||
String | category, | ||
Time_t | writeTime | ||
) |
Convenience constructor to set all LogMessageData fields
level | The level of the log message. |
message | The message. |
category | The category of the log message. |
writeTime | The time the message was written |
References LogMessageData.category, LogMessageData.level, LogMessageData.message, and LogMessageData.writeTime.
LogMessageData | ( | int | level, |
String | message, | ||
String | category | ||
) |
LogMessageData constructor, writeTime is set to current time.
level | The level of the log message. |
message | The message. |
category | The category of the log message. |
References LogMessageData.category, LogMessageData.level, and LogMessageData.message.
LogMessageData | ( | int | level, |
String | message | ||
) |
LogMessageData constructor with default category.
level | The level of the log message. |
message | The message. |
References LogMessageData.level, and LogMessageData.message.
int level |
The level of the log message.
Referenced by DistLogger.log(), and LogMessageData.LogMessageData().
String message |
The message to log. It must be non-NULL.
Referenced by DistLogger.log(), and LogMessageData.LogMessageData().
String category |
The category of the log message.
Referenced by LogMessageData.LogMessageData().
Time_t writeTime |
The timestamp with which the message will be logged.
Referenced by LogMessageData.LogMessageData().