pino-colada
Advanced tools
Comparing version 1.3.1 to 1.4.0
@@ -48,5 +48,7 @@ var prettyBytes = require('prettier-bytes') | ||
if (!obj.name) obj.name = '' | ||
if (!obj.ns) obj.ns = '' | ||
output.push(formatDate()) | ||
output.push(formatLevel(obj.level)) | ||
output.push(formatNs(obj.ns)) | ||
output.push(formatName(obj.name)) | ||
@@ -87,2 +89,6 @@ output.push(formatMessage(obj)) | ||
function formatNs (name) { | ||
return chalk.cyan(name) | ||
} | ||
function formatName (name) { | ||
@@ -89,0 +95,0 @@ return chalk.blue(name) |
{ | ||
"name": "pino-colada", | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"description": "cute ndjson logger for pino", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
56064
197