import { LogEntry } from './LogEntry.js'; import { LoggerInterface } from './LoggerInterface.js'; export interface LoggerMemoryOptions { /** Defines if the memory logger should also write the output to the console */ writeConsole?: boolean; } /** * Implements a default logger. It will store all the logEntries in Memory. * if 'writeConsole' is set to true, it will also output the logs to the console. * This logger is mainly used for debugging and development. */ export declare class LoggerMemory extends LoggerInterface { /** Defines if the memory logger should also write the output to the console */ writeConsole: boolean; entries: Record; constructor(opts?: LoggerMemoryOptions); /** * Clears all the existing log entries */ clear(): void; /** * Stores the log in the internal storage and maybe write its to the console * @param level - The log level of the current entry * @param entry - The log entry */ protected writeLog(level: string, entry: LogEntry): void; } export declare function getLoggerMemory(opts?: LoggerMemoryOptions): LoggerMemory; //# sourceMappingURL=LoggerMemory.d.ts.map