@boost/log
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -6,2 +6,18 @@ # Change Log | ||
### 1.0.3 - 2019-08-01 | ||
#### ⚙️ Types | ||
- Refine types and replace `any` with `unknown`. (#58) ([43512fc](https://github.com/milesj/boost/tree/master/packages/log/commit/43512fc)), closes [#58](https://github.com/milesj/boost/tree/master/packages/log/issues/58) | ||
#### 🛠 Internals | ||
- Increase statement and function code coverage to 100%. ([7c98aa7](https://github.com/milesj/boost/tree/master/packages/log/commit/7c98aa7)) | ||
**Note:** Version bump only for package @boost/log | ||
### 1.0.2 - 2019-07-07 | ||
@@ -8,0 +24,0 @@ |
@@ -14,3 +14,3 @@ "use strict"; | ||
if (currentLevel === maxLevel) { | ||
return false; | ||
break; | ||
} | ||
@@ -17,0 +17,0 @@ } |
@@ -6,12 +6,12 @@ export declare type LogLevel = 'debug' | 'error' | 'log' | 'info' | 'trace' | 'warn'; | ||
export interface Logger { | ||
(message: string, ...args: any[]): void; | ||
debug(message: string, ...args: any[]): void; | ||
(message: string, ...args: unknown[]): void; | ||
debug(message: string, ...args: unknown[]): void; | ||
disable(): void; | ||
enable(): void; | ||
error(message: string, ...args: any[]): void; | ||
log(message: string, ...args: any[]): void; | ||
info(message: string, ...args: any[]): void; | ||
trace(message: string, ...args: any[]): void; | ||
warn(message: string, ...args: any[]): void; | ||
error(message: string, ...args: unknown[]): void; | ||
log(message: string, ...args: unknown[]): void; | ||
info(message: string, ...args: unknown[]): void; | ||
trace(message: string, ...args: unknown[]): void; | ||
warn(message: string, ...args: unknown[]): void; | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@boost/log", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Lightweight level based logging system.", | ||
@@ -23,7 +23,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@boost/translate": "^1.0.2", | ||
"@boost/translate": "^1.0.3", | ||
"chalk": "^2.4.2", | ||
"debug": "^4.1.1" | ||
}, | ||
"gitHead": "ff2562891abe422e18eb803fc59ca7998a1e5904" | ||
"gitHead": "cf50d411c778a661520be41b0ea1042b31ce900d" | ||
} |
Sorry, the diff of this file is not supported yet
12377
Updated@boost/translate@^1.0.3