[MM-41999] Add additional logging for debugging, allow users to change log level (#2031)

* Add debug logging switch

* Add tests

* Mock electron-log globally in jest

* New logs for debugging

* Switch to a dropdown to choose log levels

* Fix tests

* Update wording
This commit is contained in:
Devin Binnie
2022-03-31 16:46:57 -04:00
committed by GitHub
parent 7c1fa2c78d
commit 626fea84a5
49 changed files with 261 additions and 108 deletions

View File

@@ -82,10 +82,6 @@ jest.mock('electron', () => ({
},
}));
jest.mock('electron-log', () => ({
error: jest.fn(),
}));
jest.mock('main/trustedOrigins', () => ({
addPermission: jest.fn(),
checkPermission: (url) => {