Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 234bd05

Browse files
committed
📝 Update readme and changelog
Related: #28
1 parent 26784ef commit 234bd05

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Added
44
- parent logger name inheritance
5-
- logging to sentry
5+
- logging to sentry (option `sentry` and `sentryLevel`)
66

77
### Changed
88
- `pino.pretty` replaced with `util.inspect`

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ When configured, cosmas (additionally to standard logging) captures all logs via
106106

107107
Either way, scope is appropriately set, as well as all payload is passed on in scope's metadata.
108108

109+
By default, Cosmas only logs to Sentry logs with `warn` or higher level. You can change this behaviour by setting `sentryLevel` option.
109110

110111

111112
## Express middleware

0 commit comments

Comments
 (0)