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:
Service::poll_ready.Future::pollof returnedFuturefromService::call.LspService::notify.LspService::emit.
Structs
- The middleware attaching
tracing::Spans over underlying handlers. - The builder of
Tracingmiddleware.
Type Aliases
- A type alias of
TracingLayerconforming to the naming convention oftower_layer.