omni::structuredlog::kEventIdTypeSetting

Defined in omni/structuredlog/StructuredLogSettingsUtils.h

constexpr const char *omni::structuredlog::kEventIdTypeSetting = "/structuredLog/eventIdType"

The setting path for the event identifier data type.

This determines what kind of event ID will be generated for each new event and how it will be printed out with each message. The following types are supported:

  • UUID generates a 128 bit universally unique identifier. The event ID mode determines how one event ID will be related to the next. This is printed into each event message in the standard UUID format (“00000000-0000-0000-0000-000000000000”). This type provides the most uniqueness and room for scaling in large data sets.

  • uint64 generates a 64 bit integer identifier. The event ID mode determines how one event ID will be related to the next. This is printed into each event message as a simple decimal integer value.

This defaults to ‘UUID’. This setting is not case sensitive.