Closed MuhKuh7 closed 3 months ago
In the main process I use:
let log = require("electron-log") log.initialize();
And in the renderer:
import log from "electron-log/renderer"; log.info('Info'); log.error('Error');
In the dev console the logs are somehow duplicated:
16:45:38.223 › Info 16:45:38.223 › Error 16:45:38.223 › Info 16:45:38.223 › Error
Thx for the fast fix!!
In the main process I use:
And in the renderer:
In the dev console the logs are somehow duplicated: