Logger

export declare class Logger {

    isDebugLevel(logLevel: LogLevels): boolean;

    setDebugLevel(value: LogLevels): void;

    enable(): void;

    printToConsole(): void;

    trace(message: any, ...args: any[]): boolean;

    info(message: any, ...args: any[]): boolean;

    debug(message: any, ...args: any[]): boolean;

    warn(message: any, ...args: any[]): boolean;

    benchmark(message: any, ...args: any[]): boolean;

    error(message: any, ...args: any[]): boolean;

    fatal(message: any, ...args: any[]): boolean;

    filter(level: LogLevels): Level;

    addHook(callback: Function): void;

}

results matching ""

    No results matching ""