RTI Connext Java API Version 7.1.0
|
Add contextual information to log messages. More...
Classes | |
class | ActivityContext |
Activity Context APIs. More... | |
class | ActivityContextAttributeKind |
The resources of the Activity Context can have multiple associated attributes. Those attributes provide extra information about the entity such as GUID prefix, Topic, data type, entity kind, entity name and domain ID. They are used to indicate what attributes of the resources are included in the activity context. More... | |
Functions | |
static void | set_attribute_mask (int attribute_mask) |
Set the com.rti.ndds.config.ActivityContextAttributeKindMask of the Activity Context. More... | |
Add contextual information to log messages.
The Activity Context is a group of resources and activities associated with an action such as the creation of an entity.
Logging context is one of the formats RTI Connext logging infrastructure supports. It is used by default in com.rti.ndds.config.LogPrintFormat.NDDS_CONFIG_LOG_PRINT_FORMAT_DEFAULT. It provides information about resources and activities. The activity context is used in two places:
For example, in the creation of a DataWriter, the activity context will provide information about:
The string representation of the above activity context would be:
Another example could be when a DataWriter writes a sample. The activity context will provide information about:
The string representation of the activity context will be:
|
static |
Set the com.rti.ndds.config.ActivityContextAttributeKindMask of the Activity Context.