UNPKG

larvitutils

Version:
37 lines (28 loc) 705 B
type InternalLogOptions = { level: LogLevel; }; type KeyValues = { [key: string]: string[]; }; type LogInstance = { silly(msg: string): void; debug(msg: string): void; verbose(msg: string): void; info(msg: string): void; warn(msg: string): void; error(msg: string): void; }; type LogLevel = 'silly' | 'debug' | 'verbose' | 'info' | 'warn' | 'error' | 'none'; type LogOptions = { level: LogLevel | undefined; }; type Metadata = { [key: string]: string | number | boolean } type UniqueKeyValues = { [key: string]: string; }; type UtilsOptions = { log?: LogInstance; }; export { InternalLogOptions, KeyValues, LogInstance, LogLevel, LogOptions, Metadata, UniqueKeyValues, UtilsOptions };