UNPKG

five-server

Version:

Development Server with Live Reload Capability. (Maintained Fork of Live Server)

24 lines 765 B
/** * @author Yannick Deubel (https://github.com/yandeu) * @copyright Copyright (c) 2021 Yannick Deubel * @license {@link https://github.com/yandeu/five-server/blob/main/LICENSE LICENSE} */ import EventEmitter from 'events'; declare class Message extends EventEmitter { logLevel: 0 | 1 | 2 | 3; private logs; /** * Pretty print message to console. */ pretty(log: string, config?: { timestamp?: boolean; id?: string; }): void; log: (...msg: any[]) => void; warn: (...msg: any[]) => void; info: (...msg: any[]) => void; error: (msg: string, comment?: null | string, exit?: boolean, errorCode?: number) => void; } export declare const message: Message; export {}; //# sourceMappingURL=msg.d.ts.map