/** @public */ export declare const LoggerLevel: Readonly<{ readonly ERROR: "error"; readonly WARN: "warn"; readonly INFO: "info"; readonly DEBUG: "debug"; readonly error: "error"; readonly warn: "warn"; readonly info: "info"; readonly debug: "debug"; }>; /** @public */ export declare type LoggerLevel = typeof LoggerLevel[keyof typeof LoggerLevel]; /** @public */ export declare type LoggerFunction = (message?: any, ...optionalParams: any[]) => void; /** @public */ export interface LoggerOptions { logger?: LoggerFunction; loggerLevel?: LoggerLevel; } /** * @public */ export declare class Logger { className: string; /** * Creates a new Logger instance * * @param className - The Class name associated with the logging instance * @param options - Optional logging settings */ constructor(className: string, options?: LoggerOptions); /** * Log a message at the debug level * * @param message - The message to log * @param object - Additional meta data to log */ debug(message: string, object?: unknown): void; /** * Log a message at the warn level * * @param message - The message to log * @param object - Additional meta data to log */ warn(message: string, object?: unknown): void; /** * Log a message at the info level * * @param message - The message to log * @param object - Additional meta data to log */ info(message: string, object?: unknown): void; /** * Log a message at the error level * * @param message - The message to log * @param object - Additional meta data to log */ error(message: string, object?: unknown): void; /** Is the logger set at info level */ isInfo(): boolean; /** Is the logger set at error level */ isError(): boolean; /** Is the logger set at error level */ isWarn(): boolean; /** Is the logger set at debug level */ isDebug(): boolean; /** Resets the logger to default settings, error and no filtered classes */ static reset(): void; /** Get the current logger function */ static currentLogger(): LoggerFunction; /** * Set the current logger function * * @param logger - Custom logging function */ static setCurrentLogger(logger: LoggerFunction): void; /** * Filter log messages for a particular class * * @param type - The type of filter (currently only class) * @param values - The filters to apply */ static filter(type: string, values: string[]): void; /** * Set the current log level * * @param newLevel - Set current log level (debug, warn, info, error) */ static setLevel(newLevel: LoggerLevel): void; } //# sourceMappingURL=logger.d.ts.map