Expand description

Formatters for logging tracing events.

Structs

Marker for Format that indicates that the compact log format should be used.
The default FormatFields implementation.
The visitor produced by DefaultFields’s MakeVisitor implementation.
A FormatFields implementation that formats fields by calling a function or closure.
The visitor produced by FieldFn’s MakeVisitor implementation.
Configures what points in the span lifecycle are logged as events.
A pre-configured event formatter.
Marker for Format that indicates that the verbose log format should be used.
Marker for Format that indicates that the verbose JSON log format should be used.
The JSON FormatFields implementation.
The visitor produced by JsonFields’s MakeVisitor implementation.
An excessively pretty, human-readable event formatter.
An excessively pretty, human-readable MakeVisitor implementation.
The visitor produced by Pretty’s MakeVisitor implementation.

Traits

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

Functions

Returns a FormatFields implementation that formats fields using the provided function or closure.
Returns the default configuration for an [event formatter].
Returns the default configuration for a JSON [event formatter].