UNPKG

downtimer

Version:
12 lines (11 loc) 888 B
import { LogMode } from './options'; import { TimerInfo } from './downtimer'; import { TimerId } from './types'; import { type Colors } from './colors'; export declare function logSchedule(mode: LogMode, timer: TimerInfo, colors: Colors): void; export declare function logBeforeExecute(mode: LogMode, timer: TimerInfo, colors: Colors): void; export declare function logErrorInExecute(mode: LogMode, timer: TimerInfo, execError: unknown, colors: Colors): void; export declare function logClearNotFound(mode: LogMode, timerId: TimerId, colors: Colors): void; export declare function logClearSuccess(mode: LogMode, timer: TimerInfo, colors: Colors): void; export declare function logClearAll(mode: LogMode, timers: Record<string, TimerInfo>, colors: Colors): void; export declare function logClearOnExit(mode: LogMode, timers: Record<string, TimerInfo>, code: number, colors: Colors): void;