UNPKG

sip.js

Version:

A SIP library for JavaScript

20 lines (19 loc) 503 B
import { Levels } from "./levels.js"; import { LoggerFactory } from "./logger-factory.js"; /** * Logger. * @public */ export declare class Logger { private logger; private category; private label; constructor(logger: LoggerFactory, category: string, label?: string); error(content: string): void; warn(content: string): void; log(content: string): void; debug(content: string): void; private genericLog; get level(): Levels; set level(newLevel: Levels); }