omni::structuredlog::kMaxMessageLength

Defined in omni/structuredlog/IStructuredLog.h

constexpr size_t omni::structuredlog::kMaxMessageLength = (10000000 - 256)

Approximate size of the maximum data payload in bytes that a message can contain that can be transmitted in a single message.

This is a matter of the typical size of message that can be sent to some data servers minus the average additional space needed for the message body and other identifying information. Note that this is only an approximate guideline and should not be taken as an exact limit. Also note that this does not account for the change in size related to data encoding methods such as Base64. If a Base64 encoding is to be used for the data payload, the kMaxMessageLengthBase64 limit should be used instead.