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

logger4node

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logger4node - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"name": "logger4node",
"version": "0.0.3",
"version": "0.0.4",
"description": "",

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

@@ -10,2 +10,3 @@ import { Debugger } from 'debug';

export declare class Logger4Node {
private static _ApplicationName;
private static LOG_LEVEL_ENABLED;

@@ -15,2 +16,3 @@ private readonly _debugLogger;

private static isLogEnabled;
private static set ApplicationName(value);
get debugLogger(): Debugger;

@@ -17,0 +19,0 @@ verbose(formatter: unknown, ...args: Array<unknown>): void;

@@ -13,3 +13,3 @@ "use strict";

static create(name) {
return new Logger4Node(name);
return new Logger4Node(`${Logger4Node._ApplicationName}:${name}`);
}

@@ -19,2 +19,5 @@ static isLogEnabled(logSeverity) {

}
static set ApplicationName(applicationName) {
Logger4Node._ApplicationName = applicationName;
}
get debugLogger() {

@@ -46,2 +49,3 @@ return this._debugLogger;

exports.Logger4Node = Logger4Node;
Logger4Node._ApplicationName = '';
Logger4Node.LOG_LEVEL_ENABLED = [

@@ -48,0 +52,0 @@ 0 /* VERBOSE */,

Sorry, the diff of this file is not supported yet

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