larksr_websdk
Version:
Larksr websdk. Easy to build a cloud render client for larksr system or ue4 pixelstreaming.docs: https://paraversetechnology.github.io/en/webclient_sdk/
26 lines (25 loc) • 679 B
TypeScript
export declare class Level {
static INFO: string;
static WARN: string;
static ERR: string;
static TRACE: string;
static getLevelIndex(level: string): 0 | 1 | 2 | 3 | 4;
}
export interface LogObserver {
onLog(msg: string): void;
}
/**
*
*/
export default class Log {
static get logLevel(): string;
static set logLevel(level: string);
static _logLevel: string;
static info(...info: any[]): void;
static warn(...warn: any[]): void;
static err(...err: any[]): void;
static trace(...log: any[]): void;
static setObserver(ob: LogObserver): void;
private static _observer;
private static log;
}