crabnebula-dev / devtools

Inspect and Debug your Tauri applications in style 💃
https://devtools.crabnebula.dev
Other
225 stars 10 forks source link

Off by one error when logging using `tracing` #315

Closed bicarlsen closed 1 week ago

bicarlsen commented 1 week ago

When using tracing for logging, outputs are delayed by one event. e.g.

tracing::debug!("1") // No log output.
...
tracing::debug!("2") // Logs "1".
...
tracing::debug!("3") // Logs "2". All subsequent logs are delayed by one logging event.
bicarlsen commented 1 week ago

I created an MRE.

johann-crabnebula commented 1 week ago

Thanks for reporting and creating a MRE. Will look into this now :)

johann-crabnebula commented 1 week ago

At this point it looks a lot like a frontend issue. I still need to investigate a little more.

johann-crabnebula commented 1 week ago

I think I found the issue. There might just be something broken with the way the filtering is implemented (even the default one). After my colleagues check the changes, we will roll an update and let you know.

See the changes here #317

johann-crabnebula commented 1 week ago

The Fix PR just got merged. The release for Premium will probably happen next week.

Web DevTools is already up to date. @bicarlsen can you check if the problem is fixed for you?

bicarlsen commented 1 week ago

Yep! All fixed :)