mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Using a trait means the call-site of the log message will always be the `log_unwrap` module, despite the `#[track_caller]` annotation. That one only works for `std::panic::Location` unfortunately which `tracing` isn't using. Macros will be evaluated earlier and thus the messages will show up with the correct module name.