Comparing version 2.3.0 to 2.4.0
@@ -7,3 +7,3 @@ 'use strict'; | ||
module.exports = function abslog(logger) { | ||
if (logger && logger instanceof global.console.Console) { | ||
if (Object.is(logger, console)) { | ||
return Object.create(utils.consoleLogger); | ||
@@ -10,0 +10,0 @@ } |
{ | ||
"name": "abslog", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"description": "An abstract logger - Enables adding logging to modules without adding a dependency to a full log library. ", | ||
@@ -5,0 +5,0 @@ "main": "lib/log.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
9968