modular-log
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14726
7
189
1
- Removed@types/winston@0.0.27
- Removed@types/node@4.0.48(transitive)
- Removed@types/winston@0.0.27(transitive)