Question: How to use log when set window.log = log.functions #290
Answered
by
megahertz
MonsieurPatate
asked this question in
Q&A
-
So from here I chose the first method and didin't queit understand how to call log?) I've tried in renderer process:
How to call the Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
megahertz
Dec 31, 2021
Replies: 1 comment 5 replies
-
Depending on Electron version and webPreferences, if |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
MonsieurPatate
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Depending on Electron version and webPreferences, if
window.log = log.functions
doesn't works, you may usecontextBridge.exposeInMainWorld('log', log.functions)
;