danikaze / electron-ipc-logger

Log and display all user-defined IPC traffic in an electron app.
MIT License
0 stars 0 forks source link

Button to clear the logs #3

Open danikaze opened 3 days ago

danikaze commented 3 days ago

As available on the Chromium Network and Console tabs among others, a button displayed as 🛇 than when clicked, clears the log in the UI.

When hovered, its title reads Clear.

It should only clear the logs in the UI browser window, as the main process doesn't really stores anything per se (if anything is done, it's done by the user via the onIpcMessage callback, and it's out of the scope of this plugin)