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

This is supported on crate feature fmt only.

Formatters for logging tracing events.

Structs

Compactfmt

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

DefaultFieldsfmt

The default FormatFields implementation.

DefaultVisitorfmt

The visitor produced by DefaultFields's MakeVisitor implementation.

FieldFnfmt

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

FieldFnVisitorfmt

The visitor produced by FieldFn's MakeVisitor implementation.

FmtSpanfmt

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

Formatfmt

A pre-configured event formatter.

Fullfmt

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

Jsonfmt

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

JsonFieldsfmt

The JSON FormatFields implementation.

JsonVisitorfmt

The visitor produced by JsonFields's MakeVisitor implementation.

Traits

FormatEventfmt

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

FormatFieldsfmt

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

Functions

debug_fnfmt

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

formatfmt

Returns the default configuration for an [event formatter].

jsonfmt and json

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