New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ts-composite-logger

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-composite-logger - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

1

dist/index.d.ts
import { ILoggerChannel } from "./interfaces/ILoggerChannel";
import { ILoggerPayload } from "./interfaces/ILoggerPayload";
export { Console } from "./Console";
export declare class Logger {

@@ -4,0 +5,0 @@ private readonly channels;

5

dist/index.js

@@ -18,8 +18,9 @@ "use strict";

const promise_all_settled_1 = __importDefault(require("promise-all-settled"));
const Console_1 = require("./Console");
const LogWeight_1 = require("./constants/LogWeight");
var Console_1 = require("./Console");
exports.Console = Console_1.Console;
class Logger {
constructor() {
this.level = LogLevel_1.LogLevel.DEBUG;
this.channels = [new Console_1.Console()];
this.channels = [];
}

@@ -26,0 +27,0 @@ addChannel(channel) {

@@ -9,2 +9,4 @@ import LogCode from "./constants/LogCode";

export {Console} from "./Console";
export class Logger {

@@ -11,0 +13,0 @@ private readonly channels: ILoggerChannel[];

{
"name": "ts-composite-logger",
"version": "1.0.6",
"version": "1.0.7",
"description": "Logger written in typescript. Includes a console channel by default. Allows to add other log channels by extending ILogChannel interface.",

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

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