[−][src]Crate tracing_actix_web
tracing-actix-web
provides TracingLogger
, a middleware to log request and response info
when using the actix-web
framework.
TracingLogger
is designed as a drop-in replacement of actix-web
's Logger
.
Logger
is built on top of the log
crate: you need to use regular expressions to parse
the request information out of the logged message.
TracingLogger
relies on tracing
, a modern instrumentation framework for structured
logging: all request information is captured as a machine-parsable set of key-value pairs.
It also enables propagation of context information to children spans.
Structs
TracingLogger |
|