1.3.0 • Published 3 years ago
express-nemo-error-logger v1.3.0
express-nemo-error-logger
A middleware for express to add error logger
Options
Name | Required | Default value | Description |
---|---|---|---|
createLogger | func | A function receiving the error and request object, returning a logger used to log errors. | |
eventTemplate | func | A function receiving the error and request object, returning a log event to be passed off to the logger. | |
excludeErrors | [] | An array of error names that should not be logged. |
1.3.0
3 years ago
1.3.0-beta.1
3 years ago
1.3.0-beta.2
3 years ago
1.3.0-beta
3 years ago
1.2.0
5 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago