We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 67cd9b5 + 6545a7e commit 9e7bd71Copy full SHA for 9e7bd71
README.md
@@ -627,8 +627,8 @@ const myCustomLevels = {
627
}
628
};
629
630
-const customLevelLogger = winston.createLogger({
631
- levels: myCustomLevels.levels
+const customLevelLogger = winston.createLogger({
+ levels: myCustomLevels.levels
632
});
633
634
customLevelLogger.foobar('some foobar level-ed message');
@@ -1098,11 +1098,6 @@ you should handle or suppress if you don't want unhandled exceptions:
1098
// Handle errors
1099
//
1100
logger.on('error', function (err) { /* Do Something */ });
1101
-
1102
-//
1103
-// Or just suppress them.
1104
1105
-logger.emitErrs = false;
1106
```
1107
1108
### Working with multiple Loggers in winston
0 commit comments