mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-09-12 14:49:40 +02:00
various code improvements and some boyscout rule fixes :)
This commit is contained in:
@@ -26,8 +26,7 @@ export class Logger {
|
||||
public log(content: string, object: object = {}) {
|
||||
if (this.ipcRenderer) {
|
||||
this.ipcRenderer.send(globalEvents.log, { content, object });
|
||||
} else {
|
||||
console.log(`${content} \n ${JSON.stringify(object, null, 2)}`);
|
||||
}
|
||||
console.log(`${content} \n ${JSON.stringify(object, null, 2)}`);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user