Comparing version 1.0.0 to 1.1.0
@@ -6,3 +6,3 @@ 'use strict'; | ||
module.exports = function abslog(logger) { | ||
if (logger instanceof console.Console) { | ||
if (logger && logger instanceof console.Console) { | ||
return Object.create(utils.consoleLogger); | ||
@@ -9,0 +9,0 @@ } |
{ | ||
"name": "abslog", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "An abstract logger - Enables adding logging to modules without adding a dependency to a full log library. ", | ||
@@ -19,2 +19,8 @@ "main": "lib/log.js", | ||
"keywords": [ | ||
"loggerinterface", | ||
"loggerabstraction", | ||
"winston", | ||
"bunyan", | ||
"pino", | ||
"log4js", | ||
"logging", | ||
@@ -31,4 +37,4 @@ "logger", | ||
"devDependencies": { | ||
"tap": "10.7.3", | ||
"eslint": "4.11.0", | ||
"tap": "11.0.0", | ||
"eslint": "4.12.0", | ||
"eslint-config-airbnb-base": "12.1.0", | ||
@@ -35,0 +41,0 @@ "eslint-plugin-import": "2.8.0", |
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
19207
13