UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

52 lines (51 loc) 1.31 kB
/** * Log a message * @param args The arguments to log */ declare function log(...args: any[]): void; /** * Log an important message * @param args The arguments to log */ declare function important(...args: any[]): void; /** * Log an error message in red * @param args The arguments to log */ declare function error(...args: any[]): void; /** * Log a warning message in orange * @param args The arguments to log */ declare function warn(...args: any[]): void; /** * Log an info message in green * @param args The arguments to log */ declare function info(...args: any[]): void; /** * Log a verbose message if verbose is enabled. Log the message in grey. * @param args The arguments to log */ declare function verbose(...args: any[]): void; /** * Set the verbosity of logging * @param enabled Whether verbose logging should be enabled */ declare function setVerbose(enabled: boolean): void; /** * Check if verbose logging is enabled * @returns Whether verbose logging is enabled */ declare function isVerbose(): boolean; export declare const Logger: { log: typeof log; error: typeof error; warn: typeof warn; important: typeof important; info: typeof info; verbose: typeof verbose; setVerbose: typeof setVerbose; isVerbose: typeof isVerbose; }; export {};