kitten-logger
Advanced tools
Comparing version 0.1.20 to 0.1.21
@@ -0,1 +1,4 @@ | ||
## v0.1.21 | ||
- Fix #3: kitten-logger was crashing because of null or undefined messages. | ||
## v0.1.20 | ||
@@ -2,0 +5,0 @@ - Do not truncate logs. |
{ | ||
"name": "kitten-logger", | ||
"version": "0.1.20", | ||
"version": "0.1.21", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -46,2 +46,6 @@ const utils = require('./utils'); | ||
if (msg == null) { | ||
msg = ''; | ||
} | ||
// if the output is a terminal and we have a beautifier for this namespace, use it to parse the msg | ||
@@ -82,2 +86,6 @@ if (msg.constructor === String){ | ||
if (msg == null) { | ||
msg = ''; | ||
} | ||
// if the output is a terminal and we have a beautifier for this namespace, use it to parse the msg | ||
@@ -84,0 +92,0 @@ if (formatters[namespace] instanceof Function) { |
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
31701
786