megahertz/electron-log

log.transport.file not accessible in Angular app

holo05 opened this issue · 1 comments

Hi,

in my Electron-Angular app i cant access to "log.transports.file".
But 'log.info" writes correctly to console and the "main.log" file

Angular 17.3.6
Electron 30.01
Node 20.12

Thanky ou for any hints!

image
image

You need to do that in the main process, not in a renderer.