bunyan-decorator
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -72,3 +72,4 @@ const bunyan = require('bunyan'); | ||
const success = r => { | ||
const [elapsedTimeSec, elapsedTimeNano] = process.hrtime(t0); | ||
const elapsedTimeSec = process.hrtime(t0)[0]; | ||
const elapsedTimeNano = process.hrtime(t0)[1]; | ||
const elapsedTime = elapsedTimeSec * Math.pow(10, 3) + elapsedTimeNano * Math.pow(10, -6); | ||
@@ -75,0 +76,0 @@ self.logger[opts.level]({ module, method, elapsedTime, result: opts.extractor(r) }, opts.msg); |
{ | ||
"name": "bunyan-decorator", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
6234
85