@spinajs/log-common
Advanced tools
Comparing version 1.2.7 to 1.2.30
@@ -142,3 +142,3 @@ export declare enum LogLevel { | ||
export interface ILogVariable { | ||
[key: string]: string | (() => string); | ||
[key: string]: unknown | (() => unknown); | ||
} | ||
@@ -176,4 +176,7 @@ export interface ILogEntry { | ||
write(entry: ILogEntry): Promise<PromiseSettledResult<void>[]>; | ||
addVariable(name: string, value: unknown): void; | ||
timeStart(name: string): void; | ||
timeEnd(name: string): number; | ||
} | ||
export declare type LogVariables = ILogStaticVariables & ILogVariable; | ||
export declare function createLogMessageObject(err: Error | string, message: string | any[], level: LogLevel, logger: string, variables: any, ...args: any[]): ILogEntry; |
{ | ||
"version": "1.2.7", | ||
"version": "1.2.30", | ||
"description": "Log lib for all spinejs related libs", | ||
@@ -42,3 +42,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "389cf142b4ca63b7850b93fc858184ddcbb43ce1" | ||
"gitHead": "06aef45008bf43baf2d1a91917a1a1eaa23a15cc" | ||
} |
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
11362
233