-
Notifications
You must be signed in to change notification settings - Fork 764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core: rename Subscriber to Collect #1015
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This currently has conflicts with master, can I get you to fix that up? |
# Conflicts: # tracing-core/src/callsite.rs # tracing-core/src/collector.rs # tracing-core/src/dispatcher.rs # tracing-core/src/lib.rs # tracing-subscriber/src/lib.rs # tracing/src/dispatcher.rs # tracing/src/lib.rs # tracing/src/subscriber.rs
hawkw
approved these changes
Oct 22, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you know what? if this builds, it's fine. let's just do it. we'll fix any remaining docs weirdness later.
fix readme
hawkw
pushed a commit
that referenced
this pull request
Oct 22, 2020
This PR removes the deprecated items in `tracing-subscriber`. It _does not_ remove `Collect::drop_span` as that will happen in a separate PR. Note that branch builds atop of #1015, which means: - #1015 needs to be merged first - This PR will be rebased against the master branch containing #1015. - _Then_ this can safely be merged.
dvdplm
added a commit
to dvdplm/tracing
that referenced
this pull request
Oct 23, 2020
* upstream/master: subscriber: update sharded-slab to 0.1, pool hashmap allocations (tokio-rs#1062) subscriber: remove deprecated type, structs, and methods tokio-rs#1030 core: rename Subscriber to Collect (tokio-rs#1015) chore: fix rustdoc warning in tracing-subscriber (tokio-rs#1061)
dvdplm
added a commit
to dvdplm/tracing
that referenced
this pull request
Oct 23, 2020
* dp-target-is-cow: subscriber: update sharded-slab to 0.1, pool hashmap allocations (tokio-rs#1062) subscriber: remove deprecated type, structs, and methods tokio-rs#1030 core: rename Subscriber to Collect (tokio-rs#1015) chore: fix rustdoc warning in tracing-subscriber (tokio-rs#1061)
dvdplm
added a commit
to dvdplm/tracing
that referenced
this pull request
Oct 23, 2020
…spatch-as-owned-tokio-rs#455 * upstream/master: subscriber: update sharded-slab to 0.1, pool hashmap allocations (tokio-rs#1062) subscriber: remove deprecated type, structs, and methods tokio-rs#1030 core: rename Subscriber to Collect (tokio-rs#1015) chore: fix rustdoc warning in tracing-subscriber (tokio-rs#1061)
dvdplm
added a commit
to dvdplm/tracing
that referenced
this pull request
Oct 23, 2020
A few minor things left over from tokio-rs#1015, there are possibly a few more (`ErrorLayer` in `tracing-error`?).
davidbarsky
pushed a commit
that referenced
this pull request
Oct 27, 2020
salewski
added a commit
to salewski/tracing-rs
that referenced
this pull request
Nov 20, 2020
The trait being augmented is the 'Collect' trait, so name the trait that extends it 'CollectExt'. This is in keeping with the extension trait naming conventions documented in Rust RFC-445, and also with the spirit of the discussion in tokio-rs/tracing PR tokio-rs#1015.
salewski
added a commit
to salewski/tracing-rs
that referenced
this pull request
Nov 20, 2020
The trait being augmented is the 'Collect' trait, so name the trait that extends it 'CollectExt'. This is in keeping with the extension trait naming conventions documented in Rust RFC-445, and also with the spirit of the discussion in tokio-rs/tracing PR tokio-rs#1015.
salewski
added a commit
to salewski/tracing-rs
that referenced
this pull request
Nov 20, 2020
The trait being augmented is the 'Collect' trait, so name the trait that extends is 'CollectExt'. This is in keeping with the extension trait naming conventions documented in Rust RFC-445, and also with the spirit of the discussion in tokio-rs/tracing PR tokio-rs#1015.
salewski
added a commit
to salewski/tracing-rs
that referenced
this pull request
Nov 20, 2020
The trait being augmented is the 'Collect' trait, so name the trait that extends it is 'CollectExt'. This is in keeping with the extension trait naming conventions documented in Rust RFC-445, and also with the spirit of the discussion in tokio-rs/tracing PR tokio-rs#1015.
davidbarsky
pushed a commit
that referenced
this pull request
Nov 21, 2020
The trait being augmented is the 'Collect' trait, so name the trait that extends should be called 'CollectExt'. This is in keeping with the extension trait naming conventions documented in RFC 445 and the spirit of the discussion in tokio-rs/tracing PR #1015.
bobrik
added a commit
to bobrik/tracing
that referenced
this pull request
Jan 14, 2021
It was renamed everywhere in tokio-rs#1015, but until tokio-rs#1190 it wasn't possible to enter this macro branch. Now it fails with the following: ``` Compiling tracing v0.2.0 (/Users/ivan/projects/tracing/tracing) error[E0433]: failed to resolve: maybe a missing crate `dispatcher`? --> /Users/ivan/projects/tracing/tracing/src/macros.rs:2351:21 | 2351 | if !$crate::dispatcher::has_been_set() { | ^^^^^^^^^^ maybe a missing crate `dispatcher`? ```
hawkw
added a commit
that referenced
this pull request
Jan 27, 2021
It was renamed everywhere in #1015, but until #1190 it wasn't possible to enter this macro branch. Now it fails with the following: ``` Compiling tracing v0.2.0 (/Users/ivan/projects/tracing/tracing) error[E0433]: failed to resolve: maybe a missing crate `dispatcher`? --> /Users/ivan/projects/tracing/tracing/src/macros.rs:2351:21 | 2351 | if !$crate::dispatcher::has_been_set() { | ^^^^^^^^^^ maybe a missing crate `dispatcher`? ``` Co-authored-by: Eliza Weisman <eliza@buoyant.io>
Folyd
added a commit
to Folyd/tracing
that referenced
this pull request
Feb 5, 2021
Folyd
added a commit
to Folyd/tracing
that referenced
this pull request
Feb 5, 2021
Folyd
added a commit
to Folyd/tracing
that referenced
this pull request
Mar 1, 2021
Folyd
added a commit
to Folyd/tracing
that referenced
this pull request
Mar 23, 2021
12 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR renames the following:
tracing_core::Subscriber
totracing_core::Collect
tracing_subscriber::layer::Layer
totracing_subscriber::layer::Subscribe
tracing_core::Subscriber
have been renamed to theCollector
-based naming schemetracing_subscriber::Layer
have been renamed to theSubscriber
-based naming schemeResolves #641.