express-pino-logger
Advanced tools
Comparing version 3.0.1 to 3.0.2
{ | ||
"name": "express-pino-logger", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "An express middleware to log with pino", | ||
@@ -5,0 +5,0 @@ "main": "logger.js", |
@@ -130,6 +130,6 @@ 'use strict' | ||
t.ok(line.res, 'res is defined') | ||
t.notOk(line.err, 'err is not defined') | ||
t.equal(line.msg, 'request completed', 'message is set') | ||
t.ok(line.err, 'err is defined') | ||
t.equal(line.msg, 'request errored', 'message is set') | ||
t.equal(line.req.method, 'GET', 'method is get') | ||
t.equal(line.res.statusCode, 500, 'statusCode is 200') | ||
t.equal(line.res.statusCode, 500, 'statusCode is 500') | ||
t.end() | ||
@@ -136,0 +136,0 @@ }) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13410