mirror of
https://github.com/servo/servo.git
synced 2025-10-03 18:19:14 +01:00
This PR allows us to set the `log_filter` via `prefs.json` as well as commandline arguments. Priority goes commandline > prefs.json > compile-time default. Testing: I compiled and run servo on an OH device, and then checked the logs: ``` hdc hilog | tee log | rg 'Set log_filter to' ``` ``` 05-08 15:25:59.389 55824 55993 D A00000/org.servo.servo/servoshell::prefs: Set log_filter to: Some("debug,geometry=trace") ``` Signed-off-by: Astraea Quinn Skoutelli <astraea.quinn.skoutelli@huawei.com> |
||
---|---|---|
.. | ||
desktop | ||
egl | ||
platform | ||
backtrace.rs | ||
build.rs | ||
Cargo.toml | ||
crash_handler.rs | ||
lib.rs | ||
main.rs | ||
panic_hook.rs | ||
parser.rs | ||
prefs.rs | ||
resources.rs | ||
test.rs |