tracing/tracing-log
Eliza Weisman 6f00dbda5f
log: prepare to release 0.1.1 (#413)
* log: deprecate `TraceLogger`

This deprecation was discussed in
https://github.com/tokio-rs/tracing/issues/369#issuecomment-541853727.
This API should not be used, as the `tracing` crate's `log` and
`log-always` features provide better implementations of the same
functionality, and the implementation here contains some deadlocks that
make it unusable in real-world use-cases.

Closes #369

Signed-off-by: Eliza Weisman <eliza@buoyant.io>

* log: minor readme tweaks

- Improve list of provded APIs
- Remove Gitter

Signed-off-by: Eliza Weisman <eliza@buoyant.io>

* log: prepare to release 0.1.1

### Deprecated

- `TraceLogger` (use `tracing`'s "log" and "log-always" feature flags instead)

### Fixed

- Issues with `log/std` feature flag (#406)
- Minor documentation issues (#405, #408)

* fix deprecation warning on reexport

* rustfmt

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
2019-10-29 12:59:15 -07:00
..
2019-10-29 12:59:15 -07:00
2019-10-29 12:59:15 -07:00

tracing-log

log compatibility for tracing.

Crates.io Documentation Documentation (master) MIT licensed Build Status Discord chat maintenance status

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 and AsLog traits for converting between tracing and log types.
  • LogTracer, a log::Log implementation that consumes log::Records and outputs them as tracing::Events.
  • An [env_logger] module, with helpers for using the [env_logger crate] with tracing (optional, enabled by the env-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.