Crate strut_tracing

Crate strut_tracing 

Source
Expand description

Strut

Strut: convenient Rust backend

Backend in Rust: convenient and configurable with Strut. 🏗️


  • Strut is a Rust application scaffold that aims to simplify common backend chores.
  • The documentation is available on the ➡️ homepage.

§Crate strut-tracing

⚠️ Internal crate

Unless you know exactly what you are doing, there is probably no need to directly depend on this crate.

This crate is a convenience layer around tracing crate.

Structs§

Registry
A shared, reusable store for spans.
TracingConfig
Represents the application-level configuration section that covers everything related to pre-configuring the formatted layer provided by the tracing crate. In essence, this is the application logging configuration.

Enums§

FormatFlavor
Represents a particular preset of configuration for the event formatter used by the formatted Subscriber of the tracing_subscriber crate.
Verbosity
A thin abstraction around the tracing crate’s LevelFilter, introduced to provide deserialization.

Traits§

Subscriber
Partly re-exports the public API of tracing_* for convenience. Trait representing the functions required to collect trace data.
SubscriberExt
Extension trait adding a with(Layer) combinator to Subscribers.
SubscriberInitExt
Extension trait adding utility methods for subscriber initialization.

Functions§

make_layer
Creates a formatted Layer based on the given config.