-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(logger): merge child logger options correctly (#1178)
* bug(logger): fix bug when child logger with overwritten options clears all other options * test(logger): add tests for createChild method * refactor(logger): remove clonedeep dependency * refactor(logger): move initOptions initializer to setOptions * feat(logger): add addPersistentLogAttributes from parent to child logger * test(logger): add tests for createChild with persistent log attrs * feat(logger): added addContext support, remove redundant initOption * refactor(logger): add parent's context to child explicitly, without merging
- Loading branch information
Showing
5 changed files
with
312 additions
and
48 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.