Module tracing_log::trace_logger
source · 👎Deprecated since 0.1.1: use the
tracing crate’s “log” feature flag insteadExpand description
A tracing Subscriber that uses the log crate as a backend for
formatting tracing spans and events.
When a TraceLogger is set as the current subscriber, it will record
traces by emitting log::Records that can be collected by a logger.
Note: This API has been deprecated since version 0.1.1. In order to emit
tracing events as log records, the “log” and “log-always” feature
flags on the tracing crate should be used instead.
Structs
- BuilderDeprecatedConfigures and constructs a
TraceLogger. - TraceLoggerDeprecatedA
tracingSubscriberimplementation that logs all recorded trace events.