Skip to content

Commit

Permalink
fixed bug with logs
Browse files Browse the repository at this point in the history
  • Loading branch information
w00000dy committed Apr 4, 2021
1 parent de9d28e commit f53eeff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- updated to electron version 12.0.2
- updated to electron-builder version 22.10.5
- updated to electron-log version 4.3.2
- fixed bug that all logs are collected in Renderer process

## WLED-GUI version 0.7.0
- added settings page
Expand Down
3 changes: 3 additions & 0 deletions js/autostart.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
const log = require('electron-log');
log.transports.console.level = "info";
log.transports.file.level = "info";
log.catchErrors();

// This is used to turn on lights automatically at startup

Expand Down
2 changes: 2 additions & 0 deletions js/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
const log = require('electron-log');
log.transports.console.level = "info";
log.transports.file.level = "info";
log.catchErrors();

document.getElementById("logo").addEventListener("click", openRepositorie);
Expand Down

0 comments on commit f53eeff

Please sign in to comment.