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.3.0 to 1.3.1

2

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

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

@@ -294,9 +294,8 @@ # log-segment

- add chrono > ``log.chrono('tag')``
- custom format for each level (ex. add trace only in panic)
- add chrono > ``log.chrono('tag')``
- browser support (mode: console - no colors, file - fs.html5)
- browser support, only console mode (!colors) ``console.log('%c message', 'color: red');``
- custom mode: stream, (sms, telegram and whatever)
- custom format in log.value
- custom mode: stream, (sms, telegram and whatever)
- multiple mode for each setting (example: on panic send email + log to file + send sms + call mom)
- customizable action (example: on error run function)
- (evaluate) support workers (as transport)

@@ -303,0 +302,0 @@ - [pino](https://github.com/pinojs/pino)

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