servoshell: allow event tracing to be configured with RUST_LOG (#31657)

* servoshell: allow event tracing to be configured with RUST_LOG

* Move docs to same file as target prefixes

* Avoid requiring macro callers to use LogTarget trait

* Clean up macro call in app.rs

* Rename macros to reflect value types
This commit is contained in:
Delan Azabani 2024-03-14 17:27:18 +08:00 committed by GitHub
parent f3a73dbed3
commit eaa800c8dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 239 additions and 19 deletions

View file

@ -9,6 +9,9 @@
#[macro_use]
extern crate sig;
#[macro_use]
mod tracing;
#[cfg(test)]
mod test;