Skip to content
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

Removed type "stuttering" #162

Merged
merged 1 commit into from May 23, 2017

Conversation

Projects
None yet
3 participants
@omh1280
Copy link
Contributor

omh1280 commented May 22, 2017

Fixes #142

Types like LogLevel have just become Level.
The affected enums, structs, and functions include:

  • LogLevel
  • LogLevelFilter
  • LogRecord
  • LogMetadata
  • LogLocation
  • MaxLogLevelFilter (now MaxLevelFilter)
  • max_log_level() (now max_level())

I changed only the parts of env_logger that reference log. Should I update its types as well? (Like LogBuilder and LogTarget?)

The docs compile correctly and hyperlinking isn't broken. It's entirely possible I've missed something, but I've tried to be thorough.

Ottavio

Removed "stuttering" of types, like LogLevel -> Level.
The affected enums, structs, and functions include:
- LogLevel
- LogLevelFilter
- LogRecord
- LogMetadata
- LogLocation
- MaxLogLevelFilter (now MaxLevelFilter)
- max_log_level (now max_level)
@dtolnay
Copy link
Member

dtolnay left a comment

Thanks! This is indeed very thorough.

In my opinion the env_logger ones should change as well—in a separate PR.

@dtolnay dtolnay merged commit fbd57e4 into rust-lang-nursery:master May 23, 2017

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@omh1280 omh1280 deleted the omh1280:stutter branch May 25, 2017

@rap2hpoutre

This comment has been minimized.

Copy link
Contributor

rap2hpoutre commented May 30, 2017

@overvenus overvenus referenced this pull request Sep 20, 2017

Merged

*: support log #88

bridger-herman added a commit to bridger-herman/sawtooth-core that referenced this pull request Jun 6, 2018

Clean up dependencies for Rust intkey example
+ Remove unnecessary dependencies:
  + `rustc-serialize`
  + `protobuf`
  + `zmq`
+ Update dependencies:
  + `log`
    + Necessitated by rust-lang-nursery/log#162
  + `log4rs`

Signed-off-by: Bridger Herman <bridger@bitwise.io>

bridger-herman added a commit to bridger-herman/sawtooth-core that referenced this pull request Jun 7, 2018

Clean up dependencies for Rust intkey example
+ Remove unnecessary dependencies:
  + `rustc-serialize`
  + `protobuf`
  + `zmq`
+ Update dependencies:
  + `log`
    + Necessitated by rust-lang-nursery/log#162
  + `log4rs`

Signed-off-by: Bridger Herman <bridger@bitwise.io>

bridger-herman added a commit to bridger-herman/sawtooth-core that referenced this pull request Jun 7, 2018

Clean up dependencies for Rust intkey example
+ Remove unnecessary dependencies:
  + `rustc-serialize`
  + `protobuf`
  + `zmq`
+ Update dependencies:
  + `log`
    + Necessitated by rust-lang-nursery/log#162
  + `log4rs`

Signed-off-by: Bridger Herman <bridger@bitwise.io>

bridger-herman added a commit to bridger-herman/sawtooth-core that referenced this pull request Jun 11, 2018

Clean up dependencies for Rust intkey example
+ Remove unnecessary dependencies:
  + `rustc-serialize`
  + `protobuf`
  + `zmq`
+ Update dependencies:
  + `log`
    + Necessitated by rust-lang-nursery/log#162
  + `log4rs`

Signed-off-by: Bridger Herman <bridger@bitwise.io>

agunde406 added a commit to hyperledger/sawtooth-core that referenced this pull request Jun 11, 2018

Clean up dependencies for Rust intkey example
+ Remove unnecessary dependencies:
  + `rustc-serialize`
  + `protobuf`
  + `zmq`
+ Update dependencies:
  + `log`
    + Necessitated by rust-lang-nursery/log#162
  + `log4rs`

Signed-off-by: Bridger Herman <bridger@bitwise.io>

danintel added a commit to danintel/sawtooth-core that referenced this pull request Jun 13, 2018

Clean up dependencies for Rust intkey example
+ Remove unnecessary dependencies:
  + `rustc-serialize`
  + `protobuf`
  + `zmq`
+ Update dependencies:
  + `log`
    + Necessitated by rust-lang-nursery/log#162
  + `log4rs`

Signed-off-by: Bridger Herman <bridger@bitwise.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.