Skip to content

Allow .opt() calls to be chained on loggers#193

Closed
gazpachoking wants to merge 1 commit intoDelgan:masterfrom
gazpachoking:chain_opt
Closed

Allow .opt() calls to be chained on loggers#193
gazpachoking wants to merge 1 commit intoDelgan:masterfrom
gazpachoking:chain_opt

Conversation

@gazpachoking
Copy link
Copy Markdown
Contributor

This addresses issue #192
Calling .opt() multiple times now keeps the options set on previous calls rather than setting all unspecified options back to their default.

Wasn't sure best how to make the test for this, so I just copied another one that used multiple options, and split it apart into 2 .opt() calls.

@Delgan
Copy link
Copy Markdown
Owner

Delgan commented Dec 27, 2019

Closing due to discussions in #192.

The documentation has been updated with a new workaround for custom levels.

@Delgan Delgan closed this Dec 27, 2019
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.

2 participants