tokio-rs / website

Website for the Tokio project
https://tokio.rs
MIT License
228 stars 329 forks source link

fix(blog): update default instrument level to `info` #690

Closed leungyauming closed 1 year ago

leungyauming commented 1 year ago

Unless overriden, a span with the INFO level will be generated. The generated span’s name will be the name of the function. By default, all arguments to the function are included as fields on the span. Arguments that are tracing primitive types implementing the Value trait will be recorded as fields of that type. Types which do not implement Value will be recorded using std::fmt::Debug.

See: docs on tracing::instrument