electron-log icon indicating copy to clipboard operation
electron-log copied to clipboard

How to Custom the maxFileSzie of log

Open 61go opened this issue 5 months ago • 3 comments

import log from 'electron-log/main'; log.transports.file.maxSize = 800 * 1024 * 1024;// 100 MB log.initialize();

i do it in eletron's prload.ts but is doesn't work.

61go avatar Feb 28 '24 05:02 61go