UNPKG

@voiceiq/web-components

Version:

VoiceIQ Web Component library

44 lines (43 loc) 1.22 kB
export interface LoggerUtility { log: (title: string, ...args: any) => void; info: (title: string, ...args: any) => void; warn: (title: string, ...args: any) => void; error: (title: string, ...args: any) => void; } /** * Utility class to log information in a more descriptive manner * * @type {LoggerUtility} */ declare class LoggerUtil { /** * Logs given information * * @param {string} title Log title * @param {...any} args Params to log */ log: (title: any, ...args: any[]) => void; /** * Info logs given information * * @param {string} title Log title * @param {...any} args Params to log */ info: (title: any, ...args: any[]) => void; /** * Warning Logs given information * * @param {string} title Log title * @param {...any} args Params to log */ warn: (title: any, ...args: any[]) => void; /** * Error Logs given information * * @param {string} title Log title * @param {...any} args Params to log */ error: (title: any, ...args: any[]) => void; } declare const _default: LoggerUtil; export default _default;