export declare enum LogLevel { DeepTrace = -3, Trace = -2, Debug = -1, Info = 0, Warn = 1, Error = 2, None = 100000, } /** * Basic logging abstraction supporting * different log levels. */ export declare class Logger { level: LogLevel; constructor(level: LogLevel); /** * Logs a string internally. It should only be called * once through an internal method to display the * caller that originally logged the string. * * @param prefix - An appended prefix * @param msg - The message including placeholders ({} or {:?}) * @param insertions - The items that replace their respective placeholders * @param msgLevel - The log level of the message */ private log(prefix, msg, insertions, msgLevel); private substringStartsWith(substrStartIndex, str, matched); uses(level: LogLevel): boolean; deepTrace(msg: string, ...insertions: any[]): void; trace(msg: string, ...insertions: any[]): void; debug(msg: string, ...insertions: any[]): void; info(msg: string, ...insertions: any[]): void; warn(msg: string, ...insertions: any[]): void; error(msg: string, ...insertions: any[]): void; } export declare const LOG: Logger;