mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-29 10:35:58 +00:00
Put all log prompts into new Logger class; Only log debugging logs to console if PairDrop is in debug mode; Implement activation of debug mode via URL argument (?debug=true)
This commit is contained in:
@@ -10,7 +10,7 @@ class BrowserTabsConnector {
|
||||
}
|
||||
|
||||
_onMessage(e) {
|
||||
console.log('Broadcast:', e.data)
|
||||
Logger.debug('Broadcast:', e.data)
|
||||
switch (e.data.type) {
|
||||
case 'self-display-name-changed':
|
||||
Events.fire('self-display-name-changed', e.data.detail);
|
||||
|
||||
Reference in New Issue
Block a user