Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(types): added rejections (ExceptionHandler) to Logger interface #1929

Closed
wants to merge 1 commit into from

Conversation

svaj
Copy link

@svaj svaj commented Jun 7, 2021

This PR fixes #1928 and adds rejections to the Logger interface

@svaj svaj marked this pull request as draft June 7, 2021 22:39
@svaj svaj marked this pull request as ready for review June 7, 2021 22:43
vanflux added a commit to vanflux/winston that referenced this pull request Jan 13, 2022
Added RejectionHandler to Logger interface,
Basically the same of PR: winstonjs#1929
Suggest by: winstonjs#2021 (comment)
fearphage pushed a commit that referenced this pull request Jan 13, 2022
* RejectionHandlers added to LoggerOptions

The 'rejectionHandlers' field was missing on LoggerOptions interface at index.d.ts.
Issue: #1801

* Added handleRejections field to LoggerOptions.

A complement to rejectionHandlers commit.

* Added RejectionHandler to Logger interface

Added RejectionHandler to Logger interface,
Basically the same of PR: #1929
Suggest by: #2021 (comment)
@DABH
Copy link
Contributor

DABH commented Jan 13, 2022

We merged #2021 instead, which incorporates these changes, so I'm going to go ahead and close this out. Thanks for helping us reach a good solution here!

@DABH DABH closed this Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rejections property missing from types
3 participants