[][src]Module tracing_subscriber::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

format

Formatters for logging tracing events.

time

Formatters for event timestamps.

writer

Abstractions for creating io::Write instances.

Structs

Builder

Configures and constructs Subscribers.

Context

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

Formatter

A Subscriber that logs formatted representations of tracing events. This type only logs formatted events; it does not perform any filtering.

Subscriber

A Subscriber that logs formatted representations of tracing events.

Traits

FormatEvent

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

MakeWriter

A type that can create io::Write instances.

NewVisitor

A type that can construct a new field visitor for formatting the fields on a span or event.