Comparing version 1.4.0 to 1.4.1
{ | ||
"name": "errorlog", | ||
"description": "Yet another logger for Node", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"author": { | ||
@@ -15,2 +15,5 @@ "name": "Pier Fumagalli", | ||
}, | ||
"scripts": { | ||
"test": "gulp" | ||
}, | ||
"homepage": "https://github.com/usrz/js-express-errorlog", | ||
@@ -24,6 +27,6 @@ "keywords": [ | ||
"devDependencies": { | ||
"chai": "^3.3.0", | ||
"grunt": "^0.4.5", | ||
"grunt-simple-mocha": "^0.4.0" | ||
"chai": "^3.4.1", | ||
"gulp": "^3.9.0", | ||
"gulp-mocha": "^2.1.3" | ||
} | ||
} |
@@ -70,7 +70,7 @@ 'use strict'; | ||
var defaultLevel = INFO; | ||
var defaultColorize = true; | ||
var defaultColorize = process.stderr.isTTY == true; | ||
function wrap(stream) { | ||
if (util.isFunction(stream.write)) { | ||
var colorize = ((stream == process.stderr) || (stream == process.stdout)); | ||
var colorize = stream.isTTY == true; | ||
var log = function log(message) { | ||
@@ -77,0 +77,0 @@ if (colorize && defaultColorize) { |
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
23071
426