Comparing version 0.0.1 to 0.1.0
@@ -5,3 +5,3 @@ var logger = require('./') | ||
logger.info('hello info') | ||
logger.warn('hello warn') | ||
logger.warn('hello warn', { a: 'logger' }) | ||
logger.error('hello error') |
12
index.js
@@ -25,6 +25,10 @@ var chalk = require('chalk') | ||
fn( | ||
chalk.underline[color](name) + pad(name, 5), | ||
chalk.gray(date.toLocaleTimeString()), | ||
msg | ||
fn.apply( | ||
null, | ||
[ | ||
chalk.underline[color](name) + pad(name, 5), | ||
chalk.gray(date.toLocaleTimeString()) | ||
].concat( | ||
Array.prototype.slice.call(arguments, 3) | ||
) | ||
) | ||
@@ -31,0 +35,0 @@ } |
{ | ||
"name": "a-logger", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "A logger.", | ||
@@ -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
3231
40