Skip to content

Question: How to use log when set window.log = log.functions #290

Answered by megahertz
MonsieurPatate asked this question in Q&A
Discussion options

You must be logged in to vote

Depending on Electron version and webPreferences, if window.log = log.functions doesn't works, you may use contextBridge.exposeInMainWorld('log', log.functions);

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@MonsieurPatate
Comment options

@petestarkey
Comment options

@Brilliant2412000
Comment options

@petestarkey
Comment options

@Brilliant2412000
Comment options

Answer selected by MonsieurPatate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #289 on December 31, 2021 03:36.