Skip to content
Myr

match TraceLayer documentation link version (#3898)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Abdelrahman Omar · committed by GitHub · parent 3ea7f31 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:examples/tracing-aka-logging/src/main.rs+1 added-1 removed
39 unmodified lines
40 .route("/", get(handler))41 // `TraceLayer` is provided by tower-http so you have to add that as a dependency.42 // It provides good defaults but is also very customizable.43 //44 // See https://docs.rs/tower-http/0.1.1/tower_http/trace/index.html for more details.44 // See https://docs.rs/tower-http/0.6.1/tower_http/trace/index.html for more details.45 //46 // If you want to customize the behavior using closures here is how.47 .layer(48 TraceLayer::new_for_http()
48 unmodified lines