UNPKG

@100mslive/hms-video-store

Version:

@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow

27 lines (26 loc) 820 B
export declare enum HMSLogLevel { VERBOSE = 0, DEBUG = 1, INFO = 2, WARN = 3, TIME = 4, TIMEEND = 5, ERROR = 6, NONE = 7 } /** * TODO: fix this so logs show the real file and line numbers where they originated from instead of this class * https://stackoverflow.com/questions/13815640/a-proper-wrapper-for-console-log-with-correct-line-number */ export default class HMSLogger { static level: HMSLogLevel; static v(tag: string, ...data: any[]): void; static d(tag: string, ...data: any[]): void; static i(tag: string, ...data: any[]): void; static w(tag: string, ...data: any[]): void; static e(tag: string, ...data: any[]): void; static time(mark: string): void; static timeEnd(mark: string): void; static cleanup(): void; private static log; }