mirror of
https://github.com/tokio-rs/tracing.git
synced 2025-10-02 15:24:47 +00:00

## Motivation I thought the boxing errors solution implemented in #400 was equivalent to the enum solution inf22bae5a2d
, but the current master doesn't actually work to install the global `LogTracer`. I can't figure out why the current cargo features don't end up turning on [this line][1], but I confirmed with the log example in4511325b29
that it's not currently working. [1]: https://github.com/tokio-rs/tracing/blob/master/tracing-subscriber/src/fmt/mod.rs#L452-L453 * subscriber: use InitError enum instead of Box the Boxing solution while using the feature tracing-log/std didn't actually seem to work * examples: log compatibility * fix dependencies Signed-off-by: Eliza Weisman <eliza@buoyant.io> * fix boxed errors Signed-off-by: Eliza Weisman <eliza@buoyant.io> * cargo fmt Signed-off-by: Eliza Weisman <eliza@buoyant.io>
tracing-subscriber
Utilities for implementing and composing tracing
subscribers.
Documentation | Chat (gitter) | Chat (discord)
License
This project is licensed under the MIT license.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tracing by you, shall be licensed as MIT, without any additional terms or conditions.