UNPKG

@securecall/client-component

Version:

SecureCall Core Web Component

21 lines (18 loc) 699 B
const CLIENT_COMP_VERSION = "1.0.2"; function Logger(klass, instanceId) { const timestamp = function () { }; timestamp.toString = function () { return new Date().toISOString(); }; let s = `${klass}(${CLIENT_COMP_VERSION}`; s += (instanceId) ? `/${instanceId})` : ')'; return { debug: console.debug.bind(console, '%s', timestamp, s), info: console.info.bind(console, '%s', timestamp, s), warn: console.warn.bind(console, '%s', timestamp, s), error: console.error.bind(console, '%s', timestamp, s) }; } export { CLIENT_COMP_VERSION as C, Logger as L }; //# sourceMappingURL=p-CgjdSc_8.js.map //# sourceMappingURL=p-CgjdSc_8.js.map