rust-tracing-log 0.1.2 Provides compatibility between tracing the log crates
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 between tracing and log types.LogTracer
, alog::Log
implementation that consumeslog::Records
and outputs them astracing::Events
.An
env_logger
module, with helpers for using the env_logger crate with tracing (optional, enabled by the env-logger feature).
- 网站:https://tokio.rs
- 许可证:Expat
- 软件包源代码:crates-io.scm
- 补丁:无
- 构建:x86_64-linux, aarch64-linux