Looks like there is typo in the example code in README.md
- Dominant language
- Go
- Stars
- 288
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
```
// Use log levels to set your log priority
log2.SetLogLevel(DebugLevel)
```
Since this code is not in the logger package, it doesn't have access to `DebugLevel`. Use this instead:
```
// Use log levels to set your log priority
log2.SetLogLevel(logger.DebugLevel)
```
Same for the WarningLevel 3 lines down.
Contributor guide
No contributing guide indexed for this repository
Research direction
Open README.md and inspect the example containing log2.SetLogLevel(DebugLevel), then check the matching WarningLevel example a few lines below. Update both references to use the logger-qualified constants, and confirm the README examples consistently refer to logger.DebugLevel and logger.WarningLevel.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100