Expand description
Unified runtime recording model.
This module provides a typed Record<{...}> model that can be routed to
observability/audit/security/operations channels with one entry point.
Macros§
- debug
- Re-export migration bridge macros under
recording::*. - error
- info
- log
- Re-export macro as
recording::log!. Macro entry-point. - trace
- warn
Structs§
- Audit
Payload - Audit-specific payload.
- Channel
Filters - Holds the active filter for each channel.
- Common
- Common metadata shared by all channel payloads.
- Observability
Payload - Observability-specific payload.
- Operations
Payload - Operations-specific payload.
- Record
- Full recording item, with channel mask on type level.
- Record
Id - Stable identifier for each recording item.
- Security
Payload - Security-specific payload.
Enums§
- Audit
Filter - Audit channel filter — controls scope (which actions).
- Observability
Filter - Observability channel filter — controls resolution (how much detail).
- Operations
Filter - Operations channel filter — controls detail level.
- Outcome
- Result/outcome of one runtime action.
- Protocol
- Runtime/request protocol.
- Record
Level - Unified severity level for runtime recording.
- Recording
Error - Runtime recording validation/emit error.
- Security
Filter - Security channel filter — controls severity threshold.
- Security
Severity - Security impact level.
Constants§
- CHANNEL_
AUDIT - Recording channel mask: audit.
- CHANNEL_
OBSERVABILITY - Recording channel mask: observability.
- CHANNEL_
OPERATIONS - Recording channel mask: operations.
- CHANNEL_
SECURITY - Recording channel mask: security.
Functions§
- emit
- Emit a typed recording through current tracing backend.
- emit_
with_ callsite - Emit a typed recording with explicit callsite metadata.
- get_
channel_ filters - Read the active channel filters (returns defaults if never set).
- parse_
audit_ filter - Parse a config string into an
AuditFilter. - parse_
observability_ filter - Parse a config string into an
ObservabilityFilter. - parse_
operations_ filter - Parse a config string into an
OperationsFilter. - parse_
security_ filter - Parse a config string into a
SecurityFilter. - set_
channel_ filters - Install channel filters (call once at pipeline init).