egg-logger
Advanced tools
Comparing version 2.2.0 to 2.2.1
2.2.1 / 2018-12-26 | ||
================== | ||
* fix: logger should extend Map (#39) | ||
2.2.0 / 2018-12-17 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -29,3 +29,3 @@ interface ILoggerLevel { | ||
export class Logger<T extends LoggerOptions = LoggerOptions> { | ||
export class Logger<T extends LoggerOptions = LoggerOptions> extends Map<string, Transport> { | ||
constructor(options: T); | ||
@@ -184,3 +184,3 @@ | ||
export class Transport<T extends TransportOptions = TransportOptions> { | ||
constructor(options: T); | ||
constructor(options?: T); | ||
readonly enabled: boolean; | ||
@@ -187,0 +187,0 @@ level: LoggerLevel; |
{ | ||
"name": "egg-logger", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "egg logger", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
47368