UNPKG

@enonic/mock-xp

Version:

Mock Enonic XP API JavaScript Library

9 lines (8 loc) 279 B
import type { Log as LogType } from '../types'; export type LogLevel = 'silent' | 'error' | 'warn' | 'info' | 'debug'; export declare class Log { static colorize(a: unknown[]): string[]; static createLogger({ loglevel }?: { loglevel: LogLevel; }): LogType; }