New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

debug-logtron

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

debug-logtron - npm Package Compare versions

Comparing version 5.1.1 to 5.2.0

18

lib/base-logtron.js

@@ -34,2 +34,20 @@ 'use strict';

// Logtron compatible writeEntry, assumes `entry` is a `logtron/entry`
BaseLogtron.prototype.writeEntry = function writeEntry(entry, cb) {
var logMessage = new LogMessage(
LEVELS[entry.level],
entry.message,
entry.meta,
entry.path
);
LogMessage.isValid(logMessage);
collectParallel(this._streams, writeMessage, cb || noop);
function writeMessage(stream, i, callback) {
stream.write(logMessage, callback);
}
};
BaseLogtron.prototype.trace = function trace(msg, meta, cb) {

@@ -36,0 +54,0 @@ this._log(LEVELS.trace, msg, meta, cb);

2

package.json
{
"name": "debug-logtron",
"version": "5.1.1",
"version": "5.2.0",
"description": "A debug logger with a logtron interface.",

@@ -5,0 +5,0 @@ "keywords": [],

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