Module json_logging

Module json_logging 

Source

Structs§

FormatWithPrefix
Text formatter that prepends the pipeline name to each event.
JsonPipelineFormat
Shared JSON formatter that injects pipeline/service name and structured fields.
SerdeVisitor

Enums§

LogIdentity
ServiceName

Functions§

init_pipeline_logging
Initialize logging with either the JSON or text pipeline format.
init_pipeline_logging_with_id
Initialize logging with either the JSON or text pipeline format, optionally attaching a pipeline id.
init_service_logging
Initialize logging for a control-plane service (manager | runner | compiler-server | control-plane).
sanitize_pipeline_name
Remove surrounding [] often used in pretty log prefixes.
use_json_log_format
True when structured JSON logging is requested via FELDERA_LOG_JSON.