logo
👎 Deprecated since 0.1.1:

use the tracing crate’s “log” feature flag instead

Expand 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

BuilderDeprecated

Configures and constructs a TraceLogger.

TraceLoggerDeprecated

A tracing Subscriber implementation that logs all recorded trace events.