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

This puts the splash SVG in every crate's README, so that it will be rendered on crates.io. I also changed the link to an absolute URL, to ensure that it works even outside of the repo. Signed-off-by: Eliza Weisman <eliza@buoyant.io>
![Tracing — Structured, application-level diagnostics][splash] [splash]: https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/splash.svg
tracing-log
log
compatibility for tracing
.
Documentation | Chat (discord)
Overview
tracing
is a framework for instrumenting Rust programs with context-aware,
structured, event-based diagnostic information. This crate provides
compatibility layers for using tracing
alongside the logging facade provided
by the log
crate.
This crate provides:
AsTrace
andAsLog
traits for converting betweentracing
andlog
types.LogTracer
, alog::Log
implementation that consumeslog::Record
s and outputs them astracing::Event
s.- An [
env_logger
] module, with helpers for using the [env_logger
crate] withtracing
(optional, enabled by theenv_logger
feature).
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.