mirror of
https://github.com/MetinSeylan/Vue-Socket.io.git
synced 2025-04-16 15:21:28 +02:00
Merge 36758eb1cc
into 2f63eebb70
This commit is contained in:
commit
0f9f842390
2 changed files with 4 additions and 4 deletions
2
dist/vue-socketio.js
vendored
2
dist/vue-socketio.js
vendored
File diff suppressed because one or more lines are too long
|
@ -10,7 +10,7 @@ export default new class VueSocketIOLogger {
|
||||||
|
|
||||||
info(text, data = '') {
|
info(text, data = '') {
|
||||||
|
|
||||||
if(this.debug) window.console.info(this.prefix+`%c${text}`, 'color: blue; font-weight: 600', 'color: #333333', 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 = ''){
|
event(text, data = ''){
|
||||||
|
|
||||||
if(this.debug) window.console.info(this.prefix+`%c${text}`, 'color: blue; font-weight: 600', 'color: #333333', data);
|
if(this.debug) window.console.info(this.prefix+`%c${text}`, 'color: blue; font-weight: 600', '', data);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue