Comparing version 0.1.6 to 0.1.7
var winston = require('winston'); | ||
var logger = require('./logger'); | ||
var chalk = require('chalk'); | ||
var statsd = require('./statsd'); | ||
@@ -64,2 +65,4 @@ function _calcLogLevel(statusCode) { | ||
logger[level](msg, _heapDump); | ||
statsd.timing('api.response_time', responseTime); | ||
} | ||
@@ -66,0 +69,0 @@ |
@@ -10,3 +10,3 @@ 'use strict'; | ||
compression = require('compression'), | ||
expressLogger = require('./express-Logger'); | ||
expressLogger = require('./express-logger'); | ||
@@ -13,0 +13,0 @@ var RedisStore = require('connect-redis')(session); |
{ | ||
"name": "elephas", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "Some added sugar on top of express to give our our some sensible defaults and a little structure.", | ||
@@ -5,0 +5,0 @@ "main": "elephas.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
29169
572