fix logger

This commit is contained in:
Даниил Пронин 2020-09-30 16:26:40 +10:00
parent ba2ded2189
commit 36758eb1cc
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View file

@ -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);
}