Read the statement by Michael Teeuw here.
creating a logger to capture module console.log/Log.log output
-
I have been fighting some crashes for a while, but using the dev window doesn’t help. it dies when Electron dies…
I found this logger, and it has helped a LOT…
thought others would be interested…
you put the javascript in a file (I used js/logger.js)
and then add the two lines to the index.html file (change the path/name of the logger.js file to match what you do)the log file will be in ~/.config/Electron/logs
(note the leading dot on config) -
So can we implement it into the code for all to use? What do you think?
-
@lavolp3 one could submit a PR to include it… wouldn’t want it on all the time, as it will eat up disk space…
MMM-Logging does similar , but always failed for me when the debugger failed…
-
@sdetweil Well, there should be a way to clear the log output once in a while!?
I’ll test it as well… -
@lavolp3 one could just erase the files… its just a lot to learn for the newer folks, who are already swamped…
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login