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

Fix initialization of the logger #1750

Merged
merged 2 commits into from Dec 27, 2022

Conversation

paul-dingemans
Copy link
Collaborator

Description

Fix initialization of the logger when --log-level is specified. Throw exception when an invalid value is passed.

Closes #1749

Checklist

  • PR description added
  • tests are added
  • KtLint has been applied on source code itself and violations are fixed
  • documentation is updated
  • CHANGELOG.md is updated

In case of adding a new rule:

@paul-dingemans paul-dingemans added this to the 0.48.1 milestone Dec 26, 2022
@paul-dingemans paul-dingemans merged commit caa594a into pinterest:master Dec 27, 2022
@paul-dingemans paul-dingemans deleted the 1749-log-level branch December 27, 2022 11:52
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.

Ktlint 0.48.0 does not respect --log-level
1 participant