Module tracing

Source
Available on crate feature tracing only.
Expand description

Attach tracing::Spans over underlying handlers.

Applies to both Language Servers and Language Clients.

This middleware attaches spans to logs in underlying implementations, with optional method strings of current processing requests/notifications. All of these methods are instrumented by the Default configuration:

Structs§

ResponseFuture
The Future type used by the Tracing middleware.
Tracing
The middleware attaching tracing::Spans over underlying handlers.
TracingBuilder
The builder of Tracing middleware.

Type Aliases§

TracingLayer
A type alias of TracingLayer conforming to the naming convention of tower_layer.