UNPKG

git-contribution-stats

Version:

High-performance library to generate GitHub contribution reports with timeout controls, circuit breakers, and selective processing for AWS Lambda and background jobs

29 lines (28 loc) 952 B
export type LogLevel = 'debug' | 'info' | 'warn' | 'error'; export interface LoggerConfig { level: LogLevel; scope: string[]; disabled: boolean; interactive: boolean; timers: boolean; } export declare class Logger { private logger; private config; private readonly logLevels; constructor(config?: Partial<LoggerConfig>); debug(message: any, ...args: any[]): void; info(message: any, ...args: any[]): void; warn(message: any, ...args: any[]): void; error(message: any, ...args: any[]): void; success(message: any, ...args: any[]): void; pending(message: any, ...args: any[]): void; complete(message: any, ...args: any[]): void; start(message: any, ...args: any[]): void; pause(message: any, ...args: any[]): void; note(message: any, ...args: any[]): void; time(label: string): void; timeEnd(label: string): void; group(label: string): void; groupEnd(): void; }