mirror of
https://github.com/tokio-rs/tracing.git
synced 2026-03-19 06:12:30 +00:00
## Motivation The MIT license states: > The above copyright notice and this permission notice > shall be included in all copies or substantial portions > of the Software. ## Solution Therefore the LICENSE files should be present in each crate directory, so they are included with `cargo publish`.
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:
AsTraceandAsLogtraits for converting betweentracingandlogtypes.LogTracer, alog::Logimplementation that consumeslog::Records and outputs them astracing::Events.- An [
env_logger] module, with helpers for using the [env_loggercrate] withtracing(optional, enabled by theenv_loggerfeature).
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.