Skip to content

Commit

Permalink
feat(docs): Describe scope padding, closes #424
Browse files Browse the repository at this point in the history
  • Loading branch information
megahertz committed Jun 21, 2024
1 parent ecb92d8 commit 767e92b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ userLog.info('message with user scope');
// Prints 12:12:21.962 (user) › message with user scope
```

By default, scope labels are padded in logs. To disable it, set
`log.scope.labelPadding = false`.

## Related

- [electron-cfg](https://github.com/megahertz/electron-cfg) -
Expand Down

0 comments on commit 767e92b

Please sign in to comment.