[][src]Module tracing_subscriber::fmt::format

This is supported on feature="fmt" only.

Formatters for logging tracing events.

Structs

Compactfeature="fmt"

Marker for Format that indicates that the compact log format should be used.

DefaultFieldsfeature="fmt"

The default FormatFields implementation.

DefaultVisitorfeature="fmt"

The visitor produced by DefaultFields's MakeVisitor implementation.

FieldFnfeature="fmt"

A FormatFields implementation that formats fields by calling a function or closure.

FieldFnVisitorfeature="fmt"

The visitor produced by FieldFn's MakeVisitor implementation.

FmtSpanfeature="fmt"

Configures what points in the span lifecycle are logged as events.

Formatfeature="fmt"

A pre-configured event formatter.

Fullfeature="fmt"

Marker for Format that indicates that the verbose log format should be used.

Jsonfeature="fmt"

Marker for Format that indicates that the verbose json log format should be used.

JsonFieldsfeature="fmt"

The JSON FormatFields implementation.

JsonVisitorfeature="fmt"

The visitor produced by JsonFields's MakeVisitor implementation.

Traits

FormatEventfeature="fmt"

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

FormatFieldsfeature="fmt"

A type that can format a set of fields to a fmt::Write.

Functions

debug_fnfeature="fmt"

Returns a FormatFields implementation that formats fields using the provided function or closure.

formatfeature="fmt"

Returns the default configuration for an [event formatter].

jsonfeature="fmt" and feature="json"

Returns the default configuration for a JSON [event formatter].