builder-util
Advanced tools
Comparing version 4.1.4 to 4.1.5
@@ -53,5 +53,2 @@ "use strict"; | ||
doLog(message, messageOrFields, level) { | ||
if (message instanceof Error) { | ||
message = message.stack; | ||
} | ||
if (message === undefined) { | ||
@@ -64,2 +61,8 @@ this._doLog(messageOrFields, null, level); | ||
_doLog(message, fields, level) { | ||
// noinspection SuspiciousInstanceOfGuard | ||
if (message instanceof Error) { | ||
message = message.stack || message.toString(); | ||
} else { | ||
message = message.toString(); | ||
} | ||
const levelIndicator = "•"; | ||
@@ -66,0 +69,0 @@ const color = LEVEL_TO_COLOR[level]; |
{ | ||
"name": "builder-util", | ||
"version": "4.1.4", | ||
"version": "4.1.5", | ||
"main": "out/util.js", | ||
@@ -5,0 +5,0 @@ "author": "Vladimir Krivosheev", |
Sorry, the diff of this file is not supported yet
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
201328
2482