plugins-workspace icon indicating copy to clipboard operation
plugins-workspace copied to clipboard

[log] target filter doc string example doesn't actually work

Open Legend-Master opened this issue 1 year ago • 0 comments

This filter will not work

|metadata| metadata.target() == WEBVIEW_TARGET

https://github.com/tauri-apps/plugins-workspace/blob/753c7be0a6a78121d2e88ea0efc3040580c885b4/plugins/log/src/lib.rs#L362-L373

This overrides the target to be webview:unknown or something else from location parameter instead of WEBVIEW_TARGET

https://github.com/tauri-apps/plugins-workspace/blob/753c7be0a6a78121d2e88ea0efc3040580c885b4/plugins/log/src/lib.rs#L233

Legend-Master avatar Mar 09 '24 12:03 Legend-Master