I have a electron app which is using c++ native addon in it.
C++ code prints log to terminal and while development I can see them in termianl.
Electron app log in renderer.js console (developer tools console).
The same thing does not happen after building app executables, as there is no termianl there...
So after build I can only see renderer.js log and can't access log from main.js and c++ code.
ISSUE:
How can I print terminal log and main.js log to renderer console.