Function nemo_relay_event_v2

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

#[unsafe(no_mangle)]pub unsafe extern "C" fn nemo_relay_event_v2(
    name: *const c_char,
    parent: *const FfiScopeHandle,
    data_json: *const c_char,
    data_schema_json: *const c_char,
    metadata_json: *const c_char,
    severity: *const NemoRelayLogSeverity,
    timestamp_unix_micros: *const i64,
) -> NemoRelayStatus

Emit a named lifecycle event with optional data schema and log severity.

This is the additive form of nemo_relay_event. The legacy function remains ABI-compatible and behaves as if both new arguments were null.

Parameters

  • data_schema_json: Optional {"name":"...","version":"..."} JSON.
  • severity: Optional typed telemetry-log severity.

Safety

The pointer requirements are the same as nemo_relay_event. Optional pointers may be null and otherwise must remain valid for the call.