mirror of
https://github.com/tokio-rs/tracing.git
synced 2025-10-02 15:24:47 +00:00
subscriber: prepare to release 0.2.10 (#872)
### Fixed - **docs**: Incorrect formatting (#862) ### Changed - **filter**: `LevelFilter` is now a re-export of the `tracing_core::LevelFilter` type, it can now be used interchangably with the versions in `tracing` and `tracing-core` (#853) - **filter**: Significant performance improvements when comparing `LevelFilter`s and `Level`s (#853) - Updated the minimum `tracing-core` dependency to 0.1.12 (#853) ### Added - **filter**: `LevelFilter` and `EnvFilter` now participate in `tracing-core`'s max level hinting, improving performance significantly in some use cases where levels are disabled globally (#853) Signed-off-by: Eliza Weisman <eliza@buoyant.io>
This commit is contained in:
parent
90dfccafe6
commit
2dd8fef355
@ -15,7 +15,7 @@ tracing-core = { path = "../tracing-core", version = "0.1"}
|
||||
tracing-error = { path = "../tracing-error" }
|
||||
tracing-flame = { path = "../tracing-flame" }
|
||||
tracing-tower = { version = "0.1.0", path = "../tracing-tower" }
|
||||
tracing-subscriber = { path = "../tracing-subscriber", version = "0.2.9", features = ["json", "chrono"] }
|
||||
tracing-subscriber = { path = "../tracing-subscriber", version = "0.2.10", features = ["json", "chrono"] }
|
||||
tracing-futures = { version = "0.2.1", path = "../tracing-futures", features = ["futures-01"] }
|
||||
tracing-attributes = { path = "../tracing-attributes", version = "0.1.2"}
|
||||
tracing-log = { path = "../tracing-log", version = "0.1.1", features = ["env_logger"] }
|
||||
|
@ -15,10 +15,10 @@ use tracing_subscriber::{
|
||||
/// when formatting the fields of each span in a trace. When no formatter is
|
||||
/// provided, the [default format] is used instead.
|
||||
///
|
||||
/// [`Layer`]: https://docs.rs/tracing-subscriber/0.2.9/tracing_subscriber/layer/trait.Layer.html
|
||||
/// [`Layer`]: https://docs.rs/tracing-subscriber/0.2.10/tracing_subscriber/layer/trait.Layer.html
|
||||
/// [`SpanTrace`]: ../struct.SpanTrace.html
|
||||
/// [field formatter]: https://docs.rs/tracing-subscriber/0.2.9/tracing_subscriber/fmt/trait.FormatFields.html
|
||||
/// [default format]: https://docs.rs/tracing-subscriber/0.2.9/tracing_subscriber/fmt/format/struct.DefaultFields.html
|
||||
/// [field formatter]: https://docs.rs/tracing-subscriber/0.2.10/tracing_subscriber/fmt/trait.FormatFields.html
|
||||
/// [default format]: https://docs.rs/tracing-subscriber/0.2.10/tracing_subscriber/fmt/format/struct.DefaultFields.html
|
||||
pub struct ErrorLayer<S, F = DefaultFields> {
|
||||
format: F,
|
||||
|
||||
@ -70,7 +70,7 @@ where
|
||||
{
|
||||
/// Returns a new `ErrorLayer` with the provided [field formatter].
|
||||
///
|
||||
/// [field formatter]: https://docs.rs/tracing-subscriber/0.2.9/tracing_subscriber/fmt/trait.FormatFields.html
|
||||
/// [field formatter]: https://docs.rs/tracing-subscriber/0.2.10/tracing_subscriber/fmt/trait.FormatFields.html
|
||||
pub fn new(format: F) -> Self {
|
||||
Self {
|
||||
format,
|
||||
|
@ -1,3 +1,24 @@
|
||||
# 0.2.10 (July 31, 2020)
|
||||
|
||||
### Fixed
|
||||
|
||||
- **docs**: Incorrect formatting (#862)
|
||||
|
||||
### Changed
|
||||
|
||||
- **filter**: `LevelFilter` is now a re-export of the
|
||||
`tracing_core::LevelFilter` type, it can now be used interchangably with the
|
||||
versions in `tracing` and `tracing-core` (#853)
|
||||
- **filter**: Significant performance improvements when comparing `LevelFilter`s
|
||||
and `Level`s (#853)
|
||||
- Updated the minimum `tracing-core` dependency to 0.1.12 (#853)
|
||||
|
||||
### Added
|
||||
|
||||
- **filter**: `LevelFilter` and `EnvFilter` now participate in `tracing-core`'s
|
||||
max level hinting, improving performance significantly in some use cases where
|
||||
levels are disabled globally (#853)
|
||||
|
||||
# 0.2.9 (July 23, 2020)
|
||||
|
||||
### Fixed
|
||||
@ -10,7 +31,7 @@
|
||||
- **fmt**: Span lookup methods defined by `layer::Context` are now also provided
|
||||
by `FmtContext` (#834)
|
||||
|
||||
# 0.2.9 (July 17, 2020)
|
||||
# 0.2.8 (July 17, 2020)
|
||||
|
||||
### Changed
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "tracing-subscriber"
|
||||
version = "0.2.9"
|
||||
version = "0.2.10"
|
||||
authors = [
|
||||
"Eliza Weisman <eliza@buoyant.io>",
|
||||
"David Barsky <me@davidbarsky.com>",
|
||||
|
@ -17,7 +17,7 @@ Utilities for implementing and composing [`tracing`][tracing] subscribers.
|
||||
[crates-badge]: https://img.shields.io/crates/v/tracing-subscriber.svg
|
||||
[crates-url]: https://crates.io/crates/tracing-subscriber
|
||||
[docs-badge]: https://docs.rs/tracing-subscriber/badge.svg
|
||||
[docs-url]: https://docs.rs/tracing-subscriber/0.2.9
|
||||
[docs-url]: https://docs.rs/tracing-subscriber/0.2.10
|
||||
[docs-master-badge]: https://img.shields.io/badge/docs-master-blue
|
||||
[docs-master-url]: https://tracing-rs.netlify.com/tracing_subscriber
|
||||
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
|
||||
|
@ -49,7 +49,7 @@
|
||||
//! [`env_logger` crate]: https://crates.io/crates/env_logger
|
||||
//! [`parking_lot`]: https://crates.io/crates/parking_lot
|
||||
//! [`registry`]: registry/index.html
|
||||
#![doc(html_root_url = "https://docs.rs/tracing-subscriber/0.2.9")]
|
||||
#![doc(html_root_url = "https://docs.rs/tracing-subscriber/0.2.10")]
|
||||
#![doc(
|
||||
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo.svg",
|
||||
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
|
||||
|
Loading…
x
Reference in New Issue
Block a user