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

@opuscapita/logger

Package Overview
Dependencies
Maintainers
12
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 2.0.1 to 2.0.2

12

index.js

@@ -204,2 +204,3 @@ "use strict";

Array.prototype.slice.call(args, 1)
// eslint-disable-next-line no-unused-vars
).map(([k, v]) => util.formatWithOptions(_cfg.formatOptions, v));

@@ -237,2 +238,3 @@ //obj.message = util.formatWithOptions(_cfg.formatOptions, ...Array.prototype.slice.call(args));

*/
// eslint-disable-next-line no-unused-vars
Logger.prototype.trace = function (message, payload) {

@@ -250,2 +252,3 @@ this.onWrite(Logger.LogLevel.Trace, arguments);

*/
// eslint-disable-next-line no-unused-vars
Logger.prototype.debug = function (message, payload) {

@@ -263,2 +266,3 @@ this.onWrite(Logger.LogLevel.Debug, arguments);

*/
// eslint-disable-next-line no-unused-vars
Logger.prototype.info = function (message, payload) {

@@ -276,2 +280,3 @@ this.onWrite(Logger.LogLevel.Info, arguments);

*/
// eslint-disable-next-line no-unused-vars
Logger.prototype.warn = function (message, payload) {

@@ -289,2 +294,3 @@ this.onWrite(Logger.LogLevel.Warning, arguments);

*/
// eslint-disable-next-line no-unused-vars
Logger.prototype.error = function (message, payload) {

@@ -301,2 +307,3 @@ this.onWrite(Logger.LogLevel.Error, arguments);

*/
// eslint-disable-next-line no-unused-vars
Logger.prototype.except = function (message, payload) {

@@ -314,2 +321,3 @@ this.onWrite(Logger.LogLevel.Exception, arguments);

*/
// eslint-disable-next-line no-unused-vars
Logger.prototype.fatal = function (message, payload) {

@@ -327,2 +335,3 @@ this.onWrite(Logger.LogLevel.Fatal, arguments);

*/
// eslint-disable-next-line no-unused-vars
Logger.prototype.log = function (message, payload) {

@@ -339,2 +348,3 @@ this.onWrite(this.config.level, arguments);

*/
// eslint-disable-next-line no-unused-vars
Logger.prototype.write = function (message, payload) {

@@ -427,3 +437,3 @@ this.onWrite(this.config.level, arguments);

const cfgFile = JSON.parse(data);
function loadCfg(src) {
const loadCfg = function(src) {
if (!src) return {};

@@ -430,0 +440,0 @@ const dst = {};

4

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

@@ -9,3 +9,3 @@ "main": "index.js",

"test:unit": "npx nyc --reporter=text --reporter=lcov mocha '*.test.js'",
"test:integ": "npx nyc --reporter=text --reporter=lcov mocha 'test/**/*.spec.js'",
"test:integ": "npx nyc --reporter=text --reporter=lcov mocha 'test/*.spec.js' test/formatters/formatters.spec.js",
"test": "npm run test:integ",

@@ -12,0 +12,0 @@ "test-coverage": "npx nyc --reporter=lcov mocha",

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