-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to Custom the maxFileSzie of log #405
Comments
It can be run in the main process only |
Oh,what a pity...
Would you have a plan to improve it. i think it is really useful.
在 2024年2月29日星期四,Alexey Prokhorov ***@***.***> 写道:
… It can be run in the main process only
—
Reply to this email directly, view it on GitHub
<#405 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJICAILOKNDH5T65GVPXFYDYVY3HRAVCNFSM6AAAAABD5L3GNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRZG4ZTOOBSGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
*亲爱的,*
*人生有很多意外,*
*握在手中的风筝,*
*也会突然断了线。*
|
No, I don't think it makes sense to allow configuring transports in a renderer process |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: