saddle-observability 0.1.1

Saddle structured logging and trace correlation
Documentation
//! Saddle structured logging and trace correlation.
//!
//! The V1 scope is Log and Trace only; the broader name does not imply Metrics
//! or monitoring-platform delivery in V1. Framework components create an
//! [`Observer`] once and use [`Observer::start_external_call`] and
//! [`Observer::start_child_call`] around their async work. Records are queued
//! without waiting for the output writer.

mod call;
mod event;
mod logger;
mod trace;

pub use call::{ActiveCall, CallKind, CallOutcome};
pub use event::{
    DomainEvent, DomainEventError, DomainValue, EventLevel, MAX_DOMAIN_EVENT_NAME_BYTES,
    MAX_DOMAIN_FIELD_NAME_BYTES, MAX_DOMAIN_FIELDS, MAX_DOMAIN_PAYLOAD_BYTES,
    MAX_DOMAIN_STRING_BYTES,
};
pub use logger::{
    FlushError, FlushFuture, InitError, Observer, ObserverConfig, OutputStage, global, init,
};
pub use saddle_core::{CallContext, SpanId, TraceId};
pub use trace::{InboundTrace, TraceIdError, trace_id_from_hex};