forked from iwater/winston-rsyslog
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hello,
I'm the author of the winston-log-and-exit, and have some users of this package have complained that this package doesn't work with winston-log-and-exit. As you may know, cleanly exiting a process and retaining the last few log entries is a perennial problem for winston users, which is confounded by poor documentation on how Winston identifies streaming loggers, and what API streaming loggers should implement.
In short, to work with winston-log-and-exit a custom Streaming Transport needs a ._stream attribute, has an .end() method, and which issues a "finish" event when all the messages that were logged before the .end() method was called.
Cheers,
-Jason
Metadata
Metadata
Assignees
Labels
No labels