You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason is rendererConsole transport. When you pack node_modules into a bundle, there is two instances of electron-log in a renderer process: one from the bundle and another from node_modules. In the v4 I'm going to rewrite this transport, so there will no such a problem. Now there are two workarounds:
electron-log will duplicate messages if you
use it with webpack
redirect
console.log
to itSee here for reproduction instructions and explanation.
https://github.com/smoofra/electron-log-require-bug
The text was updated successfully, but these errors were encountered: