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

log-segment

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

log-segment - npm Package Compare versions

Comparing version 1.4.3 to 1.5.0

5

main.js

@@ -72,3 +72,3 @@ 'use strict'

* @param {Object} params
* @param {string} template default '{marker} [{timestamp}] {message}'
* @param {string} params.template default '{marker} [{timestamp}] {message}'
*/

@@ -78,2 +78,5 @@ const __init = function (params) {

__setLevels(__levels)
if (params && params.template) {
__setTemplate(params.template)
}
}

@@ -80,0 +83,0 @@

2

package.json
{
"name": "log-segment",
"version": "1.4.3",
"version": "1.5.0",
"description": "logger with partition",

@@ -5,0 +5,0 @@ "main": "main.js",

@@ -195,3 +195,4 @@ # log-segment

**Development**
**Development**
Just enable everything on console

@@ -203,3 +204,4 @@

**Debug**
**Debug**
Enable only segments to focus on, at any levels, to find that bug

@@ -211,3 +213,4 @@

**Beta**
**Beta**
Enable all segments, disable info and success level

@@ -214,0 +217,0 @@

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