charmbracelet / charmbracelet/log

Keyval named level not working

Open
#166 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
3.4k
Forks
103
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

When i try to log with a keyval named `level`, nothing is logged

### To Reproduce

```go
log.Info("test", "level", "foo", "anything-else", "bar") // 2025/04/14 10:43:16 INFO test anything-else=bar
```

### Expected behavior

The `level` key should log the given value.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.