UNPKG

acebase-core

Version:

Shared AceBase core components, no need to install manually

20 lines 675 B
import { LoggerPlugin } from './logger'; type LoggingFunction = (text: string, ...args: any[]) => void; export type LoggingLevel = 'verbose' | 'log' | 'warn' | 'error'; export declare class DebugLogger implements LoggerPlugin { level: LoggingLevel; private prefix; verbose: LoggingFunction; trace: LoggingFunction; debug: LoggingFunction; log: LoggingFunction; info: LoggingFunction; warn: LoggingFunction; error: LoggingFunction; fatal: LoggingFunction; write: (text: string) => void; constructor(level?: LoggingLevel, prefix?: string); setLevel(level: LoggingLevel): void; } export {}; //# sourceMappingURL=debug.d.ts.map