forked from winstonjs/winston-transport
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix _writev to only call its callback when all chunks are done
Fixs github issue winstonjs#49 This allows stream events such as 'finish' to work correctly on the transport stream instead of possibly triggering before the individual log calls have been finished.
- Loading branch information
Manuel Lagang
committed
Aug 17, 2019
1 parent
46db8f3
commit 1ed7c3c
Showing
2 changed files
with
75 additions
and
5 deletions.
There are no files selected for viewing
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