OMNI_STRUCTURED_LOG

Defined in omni/structuredlog/IStructuredLog.h

OMNI_STRUCTURED_LOG(event_, ...)

Common entry point for sending an event.

Remark

This is intended to be used to send all structured log events instead of calling the generated schema class’s functions directly. This provides a consistent entry point into sending event messages and allows parameter evaluation to be delayed if either the event or schema is disabled.

Parameters
  • event_ – The name of the event to send. This is expected to be the ‘short’ name for the event as named in its schema’s *_sendEvent() function. This short name will be the portion of the function name before the ‘_sendEvent’ portion of the name.

  • ... – The set of parameters specific to the event to be sent. These are potentially different for each event. Callers should refer to the original schema to determine the actual set of parameters to send.

Returns

No return value.