@geek/logger
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -162,1 +162,10 @@ /* eslint-disable eqeqeq */ | ||
exports.events_color_simple = (args = {}) => { | ||
const clone = { ...args }; | ||
const { message = '' } = clone; | ||
clone.message = `${red.bold('Event Generated:')} ${cyan(message)} -- ${green(args.screen_name)}`; | ||
return exports.timestamp_message_color(clone); | ||
}; | ||
@@ -315,6 +315,9 @@ 'use strict'; | ||
result.stack_array = _.split(params.stack, '\n').filter(o => o); | ||
delete result.stack; | ||
result.error_message = params.message; | ||
result.line = params.line; | ||
result.column = params.column; | ||
result.message = undefined; | ||
_.defaults(result, params.meta); | ||
delete result.meta; | ||
delete result.message; | ||
// console.debug(result); | ||
@@ -321,0 +324,0 @@ return result; |
{ | ||
"name": "@geek/logger", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Logging module for Node.js and Axway Titanium", | ||
@@ -5,0 +5,0 @@ "main": "Logger.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
87687
915