UNPKG

@factorial-finance/blueprint-node

Version:

blueprint-node-plugin

15 lines (14 loc) 527 B
export interface ILogger { info(message: string, ...args: any[]): void; error(message: string, ...args: any[]): void; warn(message: string, ...args: any[]): void; debug(message: string, ...args: any[]): void; log(level: 'info' | 'error' | 'warn' | 'debug', message: string, ...args: any[]): void; } export type LogLevel = 'debug' | 'info' | 'warn' | 'error' | 'silent'; export interface ILoggerOptions { level?: LogLevel; format?: 'simple' | 'json'; timestamp?: boolean; colors?: boolean; }