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

feat: allow changing the casing of the level field value #7

Merged
merged 3 commits into from
Oct 9, 2023

Conversation

cmackenzie1
Copy link
Owner

No description provided.

Users can now choose between `Lowercase` and `Uppercase` for the
casing of the Level fields value.

Example output (pretty-printed for readability):

`Casing::Uppercase`

```json
{
  "severity": "ERROR",
  "ts": 1696892235,
  "target": "tracing_ndjson::tests",
  "fields": {
    "msg": "hello world from error"
  }
}
```

The default remains `Casing::Lowercase`.
@cmackenzie1 cmackenzie1 merged commit 9ccac8e into main Oct 9, 2023
1 check passed
@cmackenzie1 cmackenzie1 deleted the cole/reduce-duplicated-visitor branch October 9, 2023 23:04
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.

1 participant