inv-loggers
Advanced tools
Comparing version 3.2.6 to 3.2.7
// Generated by CoffeeScript 1.10.0 | ||
(function() { | ||
var isArguments, log, logs_, partialLogger, toArray; | ||
var chalk, isArguments, log, logs_, partialLogger, toArray; | ||
require('colors').enabled = true; | ||
chalk = require('chalk'); | ||
@@ -12,3 +12,3 @@ log = function(obj, label, color) { | ||
if (typeof obj === 'string' && (label == null)) { | ||
console.log(obj[color]); | ||
console.log(chalk[color](obj)); | ||
return obj; | ||
@@ -20,8 +20,8 @@ } else { | ||
if (label != null) { | ||
console.log("****** ".grey + label.toString()[color] + " ******".grey); | ||
console.log(chalk.grey("****** ") + chalk[color](label.toString()) + chalk.grey(" ******")); | ||
} else { | ||
console.log("******************************"[color]); | ||
console.log(chalk[color]("******************************")); | ||
} | ||
console.log(obj); | ||
console.log("-----".grey); | ||
console.log(chalk.grey("-----")); | ||
return obj; | ||
@@ -28,0 +28,0 @@ } |
{ | ||
"name": "inv-loggers", | ||
"version": "3.2.6", | ||
"version": "3.2.7", | ||
"description": "loggers and partial loggers", | ||
@@ -5,0 +5,0 @@ "main": "./build/inv-loggers.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
107433