rs / rs/zerolog
zerolog.ParseLevel("warning") does not work
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 12.5k
- Forks
- 640
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 2
Description
To be clear all documentation states that the input string should be "warn" and not "warning", but since this is typically used when accepting user configuration, it would be nice to accept either since its clear what level is intended
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating zerolog.ParseLevel and its existing tests. Verify that both "warn" and "warning" are accepted while current level parsing remains unchanged; done when the behavior is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 62/100