export declare enum LogLevel { VERBOSE = 1, DEBUG = 2, INFO = 3, WARNING = 4, ERROR = 5, } export interface Logger { verbose(message: string, error?: Error): any; debug(message: string, error?: Error): any; info(message: string, error?: Error): any; warn(message: string, error?: Error): any; error(message: string, error?: Error): any; } /** * Default implementation of the Logger. Wraps standards console calls. * Logs only calls that are at or above the threshold (verbose/debug/info/warn/error) * If error is passed, it will append the message to the error object. */ export declare class ConsoleLogger implements Logger { private threshold; constructor(threshold?: LogLevel); private log(logFunction, level, message, error?); verbose(message: string, error?: Error): void; debug(message: string, error?: Error): void; info(message: string, error?: Error): void; warn(message: string, error?: Error): void; error(message: string, error?: Error): void; } export declare class EmptyLogger implements Logger { verbose(message: string, error?: Error): void; debug(message: string, error?: Error): void; info(message: string, error?: Error): void; warn(message: string, error?: Error): void; error(message: string, error?: Error): void; }