https://github.com/everlastingbugstopper/tracing-example
https://github.com/everlastingbugstopper/tracing-example
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/everlastingbugstopper/tracing-example
- Owner: EverlastingBugstopper
- Created: 2019-11-21T19:22:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-21T19:49:52.000Z (over 5 years ago)
- Last Synced: 2025-01-11T17:35:54.770Z (6 months ago)
- Language: Rust
- Size: 60.2 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tracing-example
Quick example of using the [`tracing`](https://github.com/tokio-rs/tracing) crate that shaves some yaks.
```console
$ cargo run
Nov 21 13:38:21.913 INFO tracing_example: message: shaving yaks
Nov 21 13:38:21.914 WARN shave{yak: 3}: yak_events: message: could not locate yak!
Nov 21 13:38:21.914ERROR tracing_example: message: failed to shave yak!, yak: 3
```