Type Alias Event Sanitize Fn

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.

pub type EventSanitizeFn = Arc<dyn Fn(&Event, EventSanitizeFields) -> EventSanitizeFields + Send + Sync>;

Sanitize mutable observability fields on a fully constructed event.

The callback receives the current event as immutable context and the fields it may replace. Later callbacks observe fields returned by earlier entries.

Aliased Type

1pub struct EventSanitizeFn { /* private fields */ }