Read the statement by Michael Teeuw here.
console.log in getDom
-
Hi Forum ;)
Is it possible, that console.log and log.Info does not work in getDom? I did not get any Output. Is there a way?Many Tanks fort each tip :)
Best regards k.
-
@kiki99 where did you check for logs? those ones are in the browser/electron window and not in the terminal as the ones in the nodehelper
-
When you do a console log in the developer window it shows up there…
When you do a console.log in node_helper it shows up in the terminal window that you loaded MM by using npm start…
Hope that helps.
-
I’m gonna jump right in here, right after the two geniuses. :-)
-
Okay, many thanks at first for that.
But is there a way to get the output from the “console of the browser” when i start it via npm start? In the npm log there is nothing.
It’s a bigger structure so i can’t simple add it to the wrapper, or can i? ;))
Best Regards.
-
@kiki99
I think it might be related with electron. You can pipe whole electron console output to file or others. But I didn’t test. Check this.
https://github.com/dustinblackman/winston-electron/blob/master/README.md