-
Notifications
You must be signed in to change notification settings - Fork 256
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
Get structured logging API ready for stabilization #613
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
dbc0a3f
start filling in docs and remove capture/downcast value support
KodrAus fdc1c6e
rename value::Visit to value::Visitor
KodrAus 7f93aca
start factoring out value-bag
KodrAus e3a5b98
stub out the internal value APIs
KodrAus 9fae53d
fill in the test token API
KodrAus 05119e1
fill in some more doc examples
KodrAus 0096377
some more kv docs
KodrAus 54c34f7
start filling in no-dependency value
KodrAus 05d7bed
fill in visitor for inline value
KodrAus e711b62
fix up some warnings
KodrAus 67885e0
add some docs on how Value is implemented
KodrAus 0374a25
work on macro support for capturing
KodrAus 1d258b6
Merge branch 'feat/kv-cleanup' of https://github.com/rust-lang/log in…
KodrAus 6b483c6
make capturing docs easier to read
KodrAus d8dc6a8
rename source::Visitor to VisitSource and value::Visitor to VisitValue
KodrAus f6b89c0
update and clarify docs, make internal kv modules private
KodrAus 6d9e98a
run fmt
KodrAus 44b8e99
fix up some warnings
KodrAus a6c4095
add a few more notes to the source
KodrAus 52460f9
stabilize the kv features
KodrAus 90a347b
restore removed APIs as deprecated
KodrAus ad91711
support field shorthand in macros
KodrAus 31bb4b0
move error macros together
KodrAus 73e9539
fix up capturing of :err
KodrAus cf85c38
add needed subfeatures to kv_unstable
KodrAus 646e9ab
use original Visitor name for VisitValue
KodrAus 2b220bf
clean up structured logging example
KodrAus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#![cfg(feature = "kv_unstable")] | ||
#![cfg(feature = "kv")] | ||
#![feature(test)] | ||
|
||
use log::kv::Value; | ||
|
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 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 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
Oops, something went wrong.
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.
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.
We could start using cargo-hack for this at some point (for another pr).