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

Improve resiliency of wlog.LogLevel values #38

Merged
merged 1 commit into from
Mar 21, 2019

Conversation

nmiyake
Copy link
Contributor

@nmiyake nmiyake commented Mar 21, 2019

  • Add UnmarshalText function to standardize casing, convert blank
    to info and error on invalid values
  • Update logger providers to interpret empty LogLevel values as INFO

Fixes #37


This change is Reviewable

@nmiyake nmiyake requested review from jdhenke and bmoylan March 21, 2019 02:57
* Add UnmarshalText function to standardize casing, convert blank
  to info and error on invalid values
* Update logger providers to interpret empty LogLevel values as INFO

Fixes #37
Copy link

@jdhenke jdhenke left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 5 of 5 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @bmoylan)

Copy link
Contributor

@bmoylan bmoylan left a comment

Choose a reason for hiding this comment

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

Thanks!

@nmiyake nmiyake merged commit d6e84e6 into develop Mar 21, 2019
@nmiyake nmiyake deleted the improveLogLevelHandling branch March 21, 2019 16:09
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.

3 participants