@openfn/logger
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -19,2 +19,7 @@ declare type LogLevel = 'debug' | 'info' | 'default' | 'none'; | ||
declare type LogFns = 'debug' | 'info' | 'log' | 'warn' | 'error' | 'success'; | ||
declare type JSONLog = { | ||
message: Array<string | object | any>; | ||
level: LogFns; | ||
name?: string; | ||
}; | ||
declare type StringLog = [LogFns | 'confirm' | 'print', ...any]; | ||
@@ -57,2 +62,2 @@ interface Logger extends Console { | ||
export { LogLevel, LogOptions, Logger, mockLogger as createMockLogger, export_default as default, defaultLogger, _default$1 as isValidLogLevel, _default as printDuration }; | ||
export { JSONLog, LogLevel, LogOptions, Logger, StringLog, mockLogger as createMockLogger, export_default as default, defaultLogger, _default$1 as isValidLogLevel, _default as printDuration }; |
{ | ||
"name": "@openfn/logger", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "Cross-package logging utility", | ||
@@ -5,0 +5,0 @@ "module": "dist/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
12084
325