Crate rudlt_tracing
Expand description
A tracing layer that logs events to a DLT context.
§Formats
The layer supports two formats that control how an event is formatted to
DLT. The default is the “verbose” format, but the “basic” format can be used
by calling Layer::with_basic_format.
It is recommended to use the “basic” format. The default is “verbose” for compatibility reasons.
§Verbose
The “verbose” format uses DLT message arguments to represent individual fields, thereby preserving the structured nature of the event.
Unfortunately, a lot of DLT tools don’t display the field names and only show the values, which can make the output less useful. Consider using the basic format instead.
§Basic
The basic format uses only a single text argument in the message by pre-formatting the event on the Rust side.
Modules§
- visitor 🔒