voiage.logging
Structured, application-owned logging for VOIAGE.
Classes
Section titled “Classes”- TraceContext W3C Trace Context identifiers shared by VOP and VOIAGE.
- AnalysisLogContext Trusted shared correlation fields for one analysis execution.
- LoggingSettings Pydantic-v2 validated logging settings.
- BoundedLogQueue Bounded, non-blocking queue with deterministic severity-aware loss.
- RedactingFormatter Apply credential redaction to human-readable log messages.
- JsonFormatter Emit newline-delimited JSON for CI and observability systems.
Functions
Section titled “Functions”- numerical_policy_digest Return a deterministic identifier without logging policy values.
- validate_vop_pilot_contract Validate the synthetic VOP pilot before any model evaluation.
- log_context Bind context for the current thread, task, or async execution path.
- analysis_log_context Bind trusted run, trace, backend, fallback and policy correlation.
- analysis_log_context_from_result Adapt a VOIAGE analysis envelope to the shared logging contract.
- configure_logging Configure VOIAGE-owned handlers without disturbing host applications.