fix logger

pull/281/head
Даниил Пронин 4 years ago
parent ba2ded2189
commit 36758eb1cc

File diff suppressed because one or more lines are too long

@ -10,7 +10,7 @@ export default new class VueSocketIOLogger {
info(text, data = '') {
if(this.debug) window.console.info(this.prefix+`%c${text}`, 'color: blue; font-weight: 600', data);
if(this.debug) window.console.info(this.prefix+`%c${text}`, 'color: blue; font-weight: 600', '', data);
}
@ -28,7 +28,7 @@ export default new class VueSocketIOLogger {
event(text, data = ''){
if(this.debug) window.console.info(this.prefix+`%c${text}`, 'color: blue; font-weight: 600', data);
if(this.debug) window.console.info(this.prefix+`%c${text}`, 'color: blue; font-weight: 600', '', data);
}

Loading…
Cancel
Save