import { LoggerBrowserInfra, type LoggerOutputSubscriber } from "./logger-browser-infra"; import type * as interfaces from "../../interfaces"; type ICaller = interfaces.TCaller; interface LoggerOptions { skipEventBusHook?: boolean; repeatedly?: boolean; } export declare class Logger extends LoggerBrowserInfra implements interfaces.ILogger { private static lastLogTime; private static timestampFormat; private readonly ownerName; private messagePrefixes; private config; static setTimestampFormat(format: string): void; static getTimestampFormat(): string; static getName(): string; static getLogLevelString(): string; static getLogLevel(): number; static attachOutputListener(listener: LoggerOutputSubscriber): () => void; static isDebugEnabled(): boolean; constructor(owner: any, options?: LoggerOptions); addMessagePrefix(prefix: string): void; log(caller: ICaller, message: string, ...params: any[]): void; info(caller: ICaller, message: string, ...params: any[]): void; debug(caller: ICaller, message: string, ...params: any[]): void; warn(caller: ICaller, message: string, ...params: any[]): void; error(caller: ICaller, message: string, ...params: any[]): void; admin(caller: ICaller, message: string, ...params: any[]): void; startsEmpty(caller: interfaces.TCaller): void; startsWith(caller: interfaces.TCaller, params: string | object): void; dump(caller: interfaces.TCaller, params?: { [key: string]: object | string; }, notice?: string): void; drop(caller: interfaces.TCaller, according: { [key: string]: string; }, data: any): void; /** * TODO: Should respect debug levels, when to throw... */ throw(caller: interfaces.TCaller, output: string, name?: string, params?: {}): void; beep(): void; clone(): any; outputEvent(_prefix: string, _timeDiff: string, _source: string, _messagePrefix: string, _message: string, _params: any[]): void; private static resolveOwnerName; private disableLoggers; private getStackTrace; getPreviousSource(): string; private writeLog; private createBrowserFormat; private formatTime; } export default Logger;