bunyan: add support for reemitErrorEvents stream flag

This commit is contained in:
Pasi Eronen
2017-09-18 10:37:39 +03:00
parent e4ce585bf2
commit 01bc95d72c
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -47,7 +47,8 @@ const options: Logger.LoggerOptions = {
}, {
type: 'raw',
stream: ringBuffer,
level: Logger.ERROR
level: Logger.ERROR,
reemitErrorEvents: true
}]
};
+1
View File
@@ -234,6 +234,7 @@ declare namespace Logger {
period?: string;
count?: number;
name?: string;
reemitErrorEvents?: boolean;
}
interface LoggerOptions {