|
18 | 18 | [mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg |
19 | 19 | [mit-url]: LICENSE |
20 | 20 | [actions-badge]: https://github.com/tokio-rs/tracing/workflows/CI/badge.svg |
21 | | -[actions-url]:https://github.com/tokio-rs/tracing/actions?query=workflow%3ACI |
| 21 | +[actions-url]: https://github.com/tokio-rs/tracing/actions?query=workflow%3ACI |
22 | 22 | [discord-badge]: https://img.shields.io/discord/500028886025895936?logo=discord&label=discord&logoColor=white |
23 | 23 | [discord-url]: https://discord.gg/EeF3cQw |
24 | 24 |
|
@@ -136,7 +136,7 @@ use tracing::{debug, error, info, span, warn, Level}; |
136 | 136 |
|
137 | 137 | // the `#[tracing::instrument]` attribute creates and enters a span |
138 | 138 | // every time the instrumented function is called. The span is named after the |
139 | | -// the function or method. Parameters passed to the function are recorded as fields. |
| 139 | +// function or method. Parameters passed to the function are recorded as fields. |
140 | 140 | #[tracing::instrument] |
141 | 141 | pub fn shave(yak: usize) -> Result<(), Box<dyn Error + 'static>> { |
142 | 142 | // this creates an event at the DEBUG level with two fields: |
@@ -326,13 +326,13 @@ The crates included as part of Tracing are: |
326 | 326 | and non-blocking writer. ([crates.io][app-crates]|[docs][app-docs]) |
327 | 327 |
|
328 | 328 | * [`tracing-error`]: Provides `SpanTrace`, a type for instrumenting errors with |
329 | | - tracing spans |
| 329 | + tracing spans. ([crates.io][err-crates]|[docs][err-docs]) |
330 | 330 |
|
331 | | -* [`tracing-flame`]; Provides a layer for generating flame graphs based on |
332 | | - tracing span entry / exit events. |
| 331 | +* [`tracing-flame`]: Provides a layer for generating flame graphs based on |
| 332 | + tracing span entry / exit events. ([crates.io][flame-crates]|[docs][flame-docs]) |
333 | 333 |
|
334 | 334 | * [`tracing-journald`]: Provides a layer for recording events to the |
335 | | - Linux `journald` service, preserving structured data. |
| 335 | + Linux `journald` service, preserving structured data. ([crates.io][jour-crates]|[docs][jour-docs]) |
336 | 336 |
|
337 | 337 | [`tracing`]: tracing |
338 | 338 | [`tracing-core`]: tracing-core |
@@ -364,6 +364,15 @@ The crates included as part of Tracing are: |
364 | 364 | [app-crates]: https://crates.io/crates/tracing-appender |
365 | 365 | [app-docs]: https://docs.rs/tracing-appender |
366 | 366 |
|
| 367 | +[err-crates]: https://crates.io/crates/tracing-error |
| 368 | +[err-docs]: https://docs.rs/tracing-error |
| 369 | + |
| 370 | +[flame-crates]: https://crates.io/crates/tracing-flame |
| 371 | +[flame-docs]: https://docs.rs/tracing-flame |
| 372 | + |
| 373 | +[jour-crates]: https://crates.io/crates/tracing-journald |
| 374 | +[jour-docs]: https://docs.rs/tracing-journald |
| 375 | + |
367 | 376 | ## Related Crates |
368 | 377 |
|
369 | 378 | In addition to this repository, here are also several third-party crates which |
|
0 commit comments