diff options
Diffstat (limited to 'gui/src/renderer')
| -rw-r--r-- | gui/src/renderer/app.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/src/renderer/app.tsx b/gui/src/renderer/app.tsx index 2549404e20..fba3733e94 100644 --- a/gui/src/renderer/app.tsx +++ b/gui/src/renderer/app.tsx @@ -26,6 +26,7 @@ import { IWindowShapeParameters } from '../main/window-controller'; import { cities, countries, loadTranslations, messages, relayLocations } from '../shared/gettext'; import { IGuiSettingsState } from '../shared/gui-settings-state'; import { IpcRendererEventChannel } from '../shared/ipc-event-channel'; +import { getRendererLogFile, setupLogging } from '../shared/logging'; import AccountDataCache, { AccountFetchRetryAction } from './lib/account-data-cache'; import AccountExpiry from './lib/account-expiry'; @@ -78,6 +79,8 @@ export default class AppRenderer { private loginTimer?: NodeJS.Timeout; constructor() { + setupLogging(getRendererLogFile()); + ipcRenderer.on( 'update-window-shape', (_event: Electron.Event, shapeParams: IWindowShapeParameters) => { |
