Skip to content

Conversation

@yoshuawuyts
Copy link
Contributor

This removes our custom log macro code in favor of using kv-log-macro. This is a temporary crate that exists only until rust-lang/log#353 lands which enables progress on rust-lang/log#328. Thanks!

@yoshuawuyts
Copy link
Contributor Author

Also side note, I'm particularly excited for shorthand kv support as suggested here:

current

trace!("block_on", {
    parent_id: parent_id,
    child_id: child_id,
});

proposed

trace!("block_on", { parent_id, child_id });

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful, thank you <3

@ghost
Copy link

ghost commented Sep 16, 2019

bors r+

bors bot added a commit that referenced this pull request Sep 16, 2019
199: remove custom log code in favor of macro crate r=stjepang a=yoshuawuyts

This removes our custom log macro code in favor of using [`kv-log-macro`](https://github.com/yoshuawuyts/kv-log-macro). This is a temporary crate that exists only until rust-lang/log#353 lands which enables progress on rust-lang/log#328. Thanks!

Co-authored-by: Yoshua Wuyts <[email protected]>
@bors
Copy link
Contributor

bors bot commented Sep 16, 2019

Build failed

  • continuous-integration/travis-ci/push

@ghost
Copy link

ghost commented Sep 16, 2019

can you do cargo fmt and then merge?

@yoshuawuyts
Copy link
Contributor Author

bors r+

bors bot added a commit that referenced this pull request Sep 16, 2019
199: remove custom log code in favor of macro crate r=yoshuawuyts a=yoshuawuyts

This removes our custom log macro code in favor of using [`kv-log-macro`](https://github.com/yoshuawuyts/kv-log-macro). This is a temporary crate that exists only until rust-lang/log#353 lands which enables progress on rust-lang/log#328. Thanks!

Co-authored-by: Yoshua Wuyts <[email protected]>
Signed-off-by: Yoshua Wuyts <[email protected]>
@bors
Copy link
Contributor

bors bot commented Sep 16, 2019

Build succeeded

  • continuous-integration/travis-ci/push

@bors bors bot merged commit 1341fa7 into master Sep 16, 2019
@yoshuawuyts yoshuawuyts deleted the clean-log branch September 16, 2019 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants