declare enum LogLevels { NONE = 0, ERROR = 1, WARN = 2, INFO = 3, DEBUG = 4, TRACE = 5 } /** Simple logging system class. */ export declare class Logger { #private; static readonly LogLevels: typeof LogLevels; static get LogPrefixes(): Map; set logLevel(value: LogLevels); get logLevel(): LogLevels; set tagPrint(fn: (tags: string[], level: LogLevels) => string); get tagPrint(): (tags: string[], level: LogLevels) => string; set untagged(value: string); get untagged(): string; private log; /** * Set logging level to filter various information. * ```ts * 0 -> None * 1 -> Error * 2 -> Warn * 3 -> Info * 4 -> Debug * 5 -> Trace * ``` */ setLevel(level: LogLevels): void; tTrace(tags: string[], ...args: any[]): void; tDebug(tags: string[], ...args: any[]): void; tInfo(tags: string[], ...args: any[]): void; tWarn(tags: string[], ...args: any[]): void; tError(tags: string[], ...args: any[]): void; trace(...args: any[]): void; debug(...args: any[]): void; info(...args: any[]): void; warn(...args: any[]): void; error(...args: any[]): void; } /** Retrieves the global logging instance used across the module. */ export declare function getLogger(): Logger | null; /** * Enables logs for the library when called. * Call this at the top of your execution stack to output logs to console. * * @param newLogger A new logger object to optionally replace the global instance. */ export declare function setupLogger(newLogger?: Logger): void; export {}; //# sourceMappingURL=logger.d.ts.map