-
Notifications
You must be signed in to change notification settings - Fork 721
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
Update README.md #496
Update README.md #496
Conversation
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.
This looks good to me. However, I wonder if this should (also?) be in the tracing/README.md
file, since that shows up in the tracing
crate's crates.io page...
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.
some nits about the examples...i'm not convinced using targets in the basic "getting started" examples is a good idea, maybe we should just show the simplest usages...
Thanks for the review. I copied this example from the |
@davidbarsky i think the difference between these examples and the |
I'd also like to include this example in the |
@hawkw I've updated this PR as per our discussion. |
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.
this is getting really close. i commented on few couple nits, and one typo in code.
also, the previous README contained very similar documentation to the tracing/src/lib.rs
docs...can we try to keep these in sync where applicable? thanks!
Co-Authored-By: Eliza Weisman <eliza@buoyant.io>
Co-Authored-By: Eliza Weisman <eliza@buoyant.io>
Co-Authored-By: Eliza Weisman <eliza@buoyant.io>
I pushed the requested changes except for:
If my changes to the READMEs look good to you, I'll copy it over to |
oh, whoops, i missed that. sorry, my bad. |
@hawkw That was after your initial round of review :) |
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.
some more nits, but feel free to merge when you feel good about it
README.md
Outdated
} | ||
``` | ||
|
||
In `src/yak_shave.rs`: |
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.
TIOLI: I don't know if it's really necessary to show multiple files in the example...I split the examples/
dir version just so that some of the code could be used in multiple examples...
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.
yeah, removed that stuff.
Co-Authored-By: Eliza Weisman <eliza@buoyant.io>
Co-Authored-By: Eliza Weisman <eliza@buoyant.io>
@davidbarsky is there still going to be a follow-up PR to get these changes reflected in the RustDoc as well? I'd like to get that into the next |
@hawkw I've started movement into the RustDoc, but I didn't complete that yet. See here: https://tracing.rs/tracing/#for-log-users. So yes, it might be enough for another release. |
Added - `Span::with_subscriber` method to access the subscriber that tracks a `Span` (#503) - API documentation now shows which features are required by feature-flagged items (#523) - Improved README examples (#496) - Documentation links to related crates (#507) Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Added - `Span::with_subscriber` method to access the subscriber that tracks a `Span` (#503) - API documentation now shows which features are required by feature-flagged items (#523) - Improved README examples (#496) - Documentation links to related crates (#507) Signed-off-by: Eliza Weisman <eliza@buoyant.io>
* tracing: update core version Signed-off-by: Eliza Weisman <eliza@buoyant.io> * tracing: prepare to release 0.1.12 Added - `Span::with_subscriber` method to access the subscriber that tracks a `Span` (#503) - API documentation now shows which features are required by feature-flagged items (#523) - Improved README examples (#496) - Documentation links to related crates (#507) Signed-off-by: Eliza Weisman <eliza@buoyant.io> * Update CHANGELOG.md
Add a quick "getting started" guide for
tracing
. I'd like to expand this further, but something is better than nothing.Partially borrowed from rust-lang/log's README.md.