Comparing version 2.0.1 to 2.0.2
@@ -9,4 +9,7 @@ import Sequence from './sequences/sequence'; | ||
export declare function addTransport(fn: any, opts: any): void; | ||
export interface PrefixedLogger { | ||
[key: string]: (...args: any[]) => void; | ||
} | ||
export interface Logger { | ||
(prefix: string): any; | ||
(prefix: string): PrefixedLogger; | ||
Sequence: typeof Sequence; | ||
@@ -13,0 +16,0 @@ Sequencer: typeof Sequencer; |
@@ -83,5 +83,11 @@ "use strict"; | ||
*/ | ||
export interface PrefixedLogger | ||
{ | ||
[ key: string ]: ( ...args: any[] ) => void; | ||
} | ||
export interface Logger | ||
{ | ||
( prefix: string ): any; | ||
( prefix: string ): PrefixedLogger; | ||
Sequence: typeof Sequence; | ||
@@ -91,3 +97,3 @@ Sequencer: typeof Sequencer; | ||
export default function logger( backend ) | ||
export default function logger( backend ): Logger | ||
{ | ||
@@ -94,0 +100,0 @@ function log( prefix: string ) |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"author": "Gustaf Räntilä <g.rantila@gmail.com>", | ||
@@ -8,0 +8,0 @@ "repository": { |
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
131158
2884