[][src]Crate tracing_fmt

A Subscriber for formatting and logging tracing data.

Overview

tracing is a framework for instrumenting Rust programs with context-aware, structured, event-based diagnostic information. This crate provides an implementation of the Subscriber trait that records tracing's Events and Spans by formatting them as text and logging them to stdout.

Modules

filter

Filter implementations for determining what spans and events to record.

format

Formatters for logging tracing events.

time

Formatters for event timestamps.

Structs

Builder

Configures and constructs FmtSubscribers.

Context

Represents the Subscriber's view of the current span context to a formatter.

FmtSubscriber

A Subscriber that logs formatted representations of tracing events.

Traits

Filter

A policy for determining what spans and events should be enabled.

FormatEvent

A type that can format a tracing Event for a fmt::Write.

NewVisitor