Skip to main content

Crate aster_forge_logging

Crate aster_forge_logging 

Source
Expand description

Shared tracing subscriber setup for Aster services.

This crate provides the complete logging initialization behavior used by the application repositories: stdout or file output, optional daily rotation, bounded retained log files, RUST_LOG precedence over configured levels, text or JSON formatting, debug-build file and line annotations, and a non-blocking writer guard. Applications can use LoggingConfig directly in their deployment configuration schema.

Structs§

LoggingConfig
Logging initialization options.
LoggingInitResult
Result returned after installing the tracing subscriber.

Functions§

init_logging
Initializes global tracing subscriber using Aster’s standard runtime logging behavior.