Skip to content

Custom log levels can be silent unless level is also specified #1491#1639

Open
arpitsingh94 wants to merge 1 commit intowinstonjs:masterfrom
arpitsingh94:master
Open

Custom log levels can be silent unless level is also specified #1491#1639
arpitsingh94 wants to merge 1 commit intowinstonjs:masterfrom
arpitsingh94:master

Conversation

@arpitsingh94
Copy link

Added a simple check in logger constructor. Will throw an error if level (default or specified) is not one of the custom log levels defined.

Resolves #1491

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.

Custom log levels can be silent unless level is also specified

1 participant