[log
] compatibility for [tracing
].
Documentation | Chat (discord)
[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
] and [AsLog
] traits for converting between tracing
and log
types.LogTracer
], a [log::Log
] implementation that consumes [log::Record
]s
and outputs them as [tracing::Event
]s.env_logger
] module, with helpers for using the [env_logger
crate]
with tracing
(optional, enabled by the env-logger
feature).This project is licensed under the MIT license.
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.