Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

comb

Package Overview
Dependencies
Maintainers
3
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

comb - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

4

History.md

@@ -0,1 +1,5 @@

# 1.1.0
* Adding the actual error to logging meta data.
# 1.0.0

@@ -2,0 +6,0 @@

11

lib/logging/index.js

@@ -373,3 +373,3 @@ "use strict";

*/
getLogEvent: function getLogEvent(level, message) {
getLogEvent: function getLogEvent(level, message, rawMessage) {
return {

@@ -384,3 +384,4 @@ hostname: os.hostname(),

timeStamp: new Date(),
name: this.fullName
name: this.fullName,
rawMessage: rawMessage
};

@@ -398,3 +399,5 @@ },

log: function log(level, message) {
var rawMessage = message;
level = Level.toLevel(level);
if (this.hasLevelGt(level)) {

@@ -415,3 +418,3 @@ var args = argsToArray(arguments, 1);

var type = level.name.toLowerCase(), appenders = this.__appenders;
var event = this.getLogEvent(level, message);
var event = this.getLogEvent(level, message, rawMessage);
Object.keys(appenders).forEach(function (i) {

@@ -743,3 +746,1 @@ appenders[i].append(event);

exports.logger.rootLogger = rootLogger;
{
"name": "comb",
"description": "A framework for node",
"version": "1.0.0",
"version": "1.1.0",
"keywords": [

@@ -6,0 +6,0 @@ "OO",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc