mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +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> |
||
---|---|---|
.. | ||
macro | ||
Cargo.toml | ||
lib.rs | ||
opts.rs | ||
pref_util.rs | ||
prefs.rs |