tracing
tracing copied to clipboard
Application level tracing for Rust.
This is not quite done yet, but here's the current dev state of the new `Value` and `ValueSet` APIs for `tracing-core` 0.2.
As an alternative to #1045, this PR switches `set_default` and `with_default` to take an owned `Dispatch` instead of a ref. See [comment here](https://github.com/tokio-rs/tracing/pull/1045#issuecomment-711422012) for motivation. Closes #455 Part of #922
## Motivation ref: https://github.com/tokio-rs/tracing/pull/1009 This is code refactoring. Currently, there is a lot of code that declares modules as follows: ```rust #[cfg(feature = "registry")] #[cfg_attr(docsrs, doc(cfg(feature = "registry")))] pub use...
I needed support for column metadata
## Motivation The current strategy for naming log files generates filenames like `/var/log/MyApplication.log.2020-07-21`. I'd prefer my log files to have `log` as the extension (e.g. `/var/log/MyApplication.2020-07-21.log`) because OSs and VS...
## Motivation tracing currently doesn't have a way to send the same log line to multiple appenders at the same time. ## Solution This is a very quick implementation of...
This isn't quite done yet, and would need to wait until `tracing` 0.2 to release, but here's a rough sketch of a version of `Span::in_scope` that works transparently with `async`...
## Feature Request This is a feature I'd like to implement for fun. The idea is basically to write a crate that has two parts. 1. A wrapper for std::process...
## Feature Request ### Crates - `tracing-subscriber` ### Motivation Currently, the `Layer::on_layer` callback in `tracing_subscriber` takes the `Subscriber` that the layer is being added to as an `&mut` reference. This...
## Feature Request ### Motivation Foreign libraries often (e.g. Vulkan, OpenGL, libpng) expose callbacks to report diagnostics. Piping these into `tracing` events provides pleasant user experience, but when severity is...