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

modular-log

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

modular-log - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

14

lib/index.d.ts

@@ -1,2 +0,1 @@

import * as winston from 'winston';
import { SummarizerOptions } from './summarizer';

@@ -13,6 +12,15 @@ export declare type LogLevels = 'fatal' | 'error' | 'warn' | 'success' | 'info' | 'debug' | 'trace';

};
export interface ConsoleLoggerOptions extends winston.ConsoleTransportOptions {
export interface ConsoleLoggerOptions {
level?: string;
formatter?: Function;
}
export declare function setupConsoleLogger(options?: ConsoleLoggerOptions): void;
export interface FileLoggerOptions extends winston.FileTransportOptions {
export interface FileLoggerOptions {
filename?: string;
dirname?: string;
stream?: any;
tailable?: boolean;
json?: boolean;
formatter?: Function;
level?: string;
}

@@ -19,0 +27,0 @@ export declare function setupFileLogger(options?: FileLoggerOptions): void;

{
"name": "modular-log",
"version": "0.3.3",
"version": "0.3.4",
"description": "Modular components based on Winston logger",

@@ -20,3 +20,3 @@ "main": "lib/index.js",

"type": "git",
"url": "http://github.com/igabesz/modular-log"
"url": "https://github.com/igabesz/modular-log"
},

@@ -29,3 +29,2 @@ "author": "Gábor IMRE",

"@types/node": "^6.0.32",
"@types/winston": "0.0.27",
"colors": "^1.1.2",

@@ -35,3 +34,6 @@ "lodash": "^4.14.2",

"winston": "^2.2.0"
},
"devDependencies": {
"@types/winston": "0.0.27"
}
}

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