Crate mas_context
Source - EventFormatter
- An event formatter usable by the [
tracing-subscriber
] crate, which
includes the log context and the OTEL trace ID. - LogContext
- A log context saves informations about the current task, such as the
elapsed time, the number of polls, and the poll time.
- LogContextLayer
- A layer which creates a log context for each request.
- LogContextService
- A service which wraps another service and creates a log context for
each request.
- LogContextStats
- A snapshot of a log context statistics
- PollRecordingFuture
- A future which records the elapsed time and the number of polls in the
active log context
- CURRENT_LOG_CONTEXT
- LogContextFuture