@pagedip/util-logger
Advanced tools
Comparing version 1.0.0-rc.1 to 1.0.0-rc.2
@@ -32,3 +32,3 @@ 'use strict'; | ||
static isLogger(l) { | ||
return l instanceof Logger; | ||
return l != null && l["__pagedip_logger__"] === true; | ||
} | ||
@@ -47,2 +47,3 @@ | ||
this.__pagedip_logger__ = true; | ||
this.logLevel = defaultLogLevel; | ||
@@ -49,0 +50,0 @@ this.color = chalk; |
{ | ||
"name": "@pagedip/util-logger", | ||
"version": "1.0.0-rc.1", | ||
"version": "1.0.0-rc.2", | ||
"repository": { | ||
@@ -34,3 +34,3 @@ "type": "git", | ||
], | ||
"gitHead": "b2f6e2641c6ca6774ccbb8c492561fa79a664ffa" | ||
"gitHead": "20d1714a1f559939d8e305eca819818169c894e4" | ||
} |
5483
158