Currently I need to get the logs output to devtool Console and use it later.
so when I open a web page in electron, I can get the console logs about that page(js errors, mixed contents warning and so on…)
How can I collect the logs in the main process? I’ve searched for a long time but somehow since the keyword
console log is quite confusing and I can’t find the answer I want.