infobip-rtc
Version:
Infobip RTC JavaScript SDK - Infobip WebRTC API Implementation
16 lines (15 loc) • 581 B
TypeScript
import { Log } from "./Log";
import { LoggerOptions } from "./LoggerOptions";
import { WsErrorLogger } from "../util/WsErrorLogger";
export interface Logger {
log(log: Log): void;
debug(message: string, callId?: string): void;
info(message: string, callId?: string): void;
warn(message: string, callId?: string): void;
error(message: string, callId?: string): void;
setOptions(options: LoggerOptions): void;
setApiUrl(apiUrl: string): void;
setLogLevel(logLevel: string): void;
setWsErrorLogger(logger: WsErrorLogger): void;
stop(): void;
}