rs / rs/zerolog

zerolog.ParseLevel("warning") does not work

Open Beginner friendly
#331 0 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.