bunyan-pilgrim
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -58,13 +58,2 @@ 'use strict'; | ||
if (statusCode >= this.minStatusCode && statusCode <= this.maxStatusCode && !this.ignoreMap[statusCode]) { | ||
var timers = entry.req.timers | ||
var time = Object.keys(timers).reduce(function(val, key) { return val + timers[key]; }, 0); | ||
var result = sprintf( | ||
'%3s %-60s %0.8f\n', | ||
entry.req.method, | ||
entry.req.url.substring(0, 80), | ||
time / 1e9); | ||
console.log(result) | ||
if (this.timingOnly) { | ||
@@ -75,3 +64,3 @@ var timers = entry.req.timers | ||
var result = sprintf( | ||
'%3s %-80s %0d', | ||
'%3s %-60s %0.8f\n', | ||
entry.req.method, | ||
@@ -78,0 +67,0 @@ entry.req.url.substring(0, 80), |
{ | ||
"name": "bunyan-pilgrim", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "A REST-oriented logger for Bunyan", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
12949
266