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

@opuscapita/logger

Package Overview
Dependencies
Maintainers
29
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opuscapita/logger - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

13

index.js

@@ -448,5 +448,16 @@ 'use strict'

String.prototype.slice.call(obj.level, 0, 5).padEnd(5),
String.prototype.slice(obj.name, 0, 30).padEnd(30),
String.prototype.slice.call(obj.name, 0, 30).padEnd(30),
obj.message);
break;
case 'ci':
Logger.DefaultConfig.formatter = (obj)=>util.formatWithOptions(
_cfg.formatOptions,
'%s|%s|%s|%s|%s|%s',
String.prototype.slice.call(obj.timestamp || '', 11, 23),
String.prototype.slice.call(obj.level || '', 0, 5).padEnd(5),
String.prototype.slice.call(obj.name || '', 0, 30).padEnd(30),
String.prototype.slice.call(obj.correlationId || '', -10).padEnd(10),
String.prototype.slice.call(obj.requestUri || '', -30).padEnd(30),
obj.message);
break;
default:

@@ -453,0 +464,0 @@ _error.write(util.format('Unsupported formatter %s\s', cfgFile.default.formatter));

2

package.json
{
"name": "@opuscapita/logger",
"version": "1.4.0",
"version": "1.5.0",
"description": "Unified logging component for OpusCapita Andariel platform.",

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

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