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

Make level configurable for NewStdLog. (#439) #487

Merged
merged 2 commits into from
Sep 21, 2017

Commits on Sep 21, 2017

  1. Make level configurable for NewStdLog. (uber-go#439)

    With this change new function is added called NewStdLogAt. It has same
    behaviour as NewStdLog, but it allows providing log level to use by
    returned *log.Logger.
    delicb authored and Akshay Shah committed Sep 21, 2017
    Configuration menu
    Copy the full SHA
    6befa5f View commit details
    Browse the repository at this point in the history
  2. Use error-testing helpers

    Use the `NoError` testing helpers instead of directly comparing errors
    to nil.
    Akshay Shah committed Sep 21, 2017
    Configuration menu
    Copy the full SHA
    4fe6514 View commit details
    Browse the repository at this point in the history