Skip to content

Commit

Permalink
Merge branch 'master' of github.com:winstonjs/winston
Browse files Browse the repository at this point in the history
  • Loading branch information
DABH committed Jun 22, 2020
2 parents 67cd9b5 + 6545a7e commit 9e7bd71
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -627,8 +627,8 @@ const myCustomLevels = {
}
};

const customLevelLogger = winston.createLogger({
levels: myCustomLevels.levels
const customLevelLogger = winston.createLogger({
levels: myCustomLevels.levels
});

customLevelLogger.foobar('some foobar level-ed message');
Expand Down Expand Up @@ -1098,11 +1098,6 @@ you should handle or suppress if you don't want unhandled exceptions:
// Handle errors
//
logger.on('error', function (err) { /* Do Something */ });

//
// Or just suppress them.
//
logger.emitErrs = false;
```

### Working with multiple Loggers in winston
Expand Down

0 comments on commit 9e7bd71

Please sign in to comment.