omni::structuredlog::kExtraFieldsSettingBranch

Defined in omni/structuredlog/StructuredLogSettingsUtils.h

constexpr const char *omni::structuredlog::kExtraFieldsSettingBranch = "/structuredLog/extraFields"

The settings branch that will be expected to contain zero or more key/value pairs for extra fields to be added to each output message.

This branch will only be parsed once on startup. Any extra dynamic fields that need to be added at runtime need to be added or removed programmatically using the omni::structuredlog::IStructuredLogExtraFields interface. Only string values will be accepted under this branch. By default this settings branch is expected to be empty and no extra fields will be added.

Note that the number of extra fields added should be kept to a minimum required count and size since they can affect both output and transmission performance.