plugins-workspace
plugins-workspace copied to clipboard
[log] Separation between rust and JavaScript logs
Log messages from JavaScript are written like the following:
[2023-02-06][20:17:17][ERROR][INFO] message from JS!
Instead of ERROR I would like the plugin to know that the log was written from JS, or even better in which component for exmaple JS::App::MainPage.
I also would like to get the ability to save rust logs to one file and js logs to other file, with the ability to naming these files as an option.
I think this has already been fixed? Logs now show [webview]:
[2025-03-07][12:14:01][webview][INFO] message from JS