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§
- Response
Future - The
Futuretype used by theTracingmiddleware. - Tracing
- The middleware attaching
tracing::Spans over underlying handlers. - Tracing
Builder - The builder of
Tracingmiddleware.
Type Aliases§
- Tracing
Layer - A type alias of
TracingLayerconforming to the naming convention oftower_layer.