omni::structuredlog::fOutputFlagPayloadOnly

Defined in omni/structuredlog/IStructuredLogSettings2.h

constexpr OutputFlags omni::structuredlog::fOutputFlagPayloadOnly = 0x00000001

Flag to indicate that only emit the payload portion of each message as the full output instead of including the CloudEvents wrapper as well.

In this case, it is expected to be the host app’s responsibility to ensure all the useful or required information is included in the payload itself (ie: timestamps, user information, etc). Also, when this flag is used, log files created containing these messages cannot be consumed by the telemetry transmitter. This flag should only be used when the host app wants to use structured logging messages but does not want to use them as part of the telemetry toolchain. This flag is off by default. Adding this flag will take effect the next time a message is emitted.