UNPKG

hx-white-board

Version:

```bash npm install hx-white-board ```

25 lines (24 loc) 575 B
export declare enum LogLevel { DEBUG = 0, INFO = 1, WARNING = 2, ERROR = 3, NONE = 4 } export default class BasicLogger { private _debug; private _info; private _warn; private _error; static DEBUG: LogLevel; static INFO: LogLevel; static WARNING: LogLevel; static ERROR: LogLevel; static NONE: LogLevel; constructor(prefix: string); debug(...args: any[]): void; info(...args: any[]): void; warn(...args: any[]): void; error(...args: any[]): void; static setLogLevel(logLevel: LogLevel): void; }