zlog: Use zlog as default log implementation (#28612)

Still TODO:

- [x] Remove old log implementations
- [x] More cleanup
- [x] Verify atomic/lock logic
- [x] More tests
- [ ] ??? Ansi coloring when logging to stdout

Release Notes:

- N/A
This commit is contained in:
Ben Kunkle
2025-04-14 14:17:07 +00:00
committed by GitHub
parent 0eb0a3c7dc
commit 4a57664c7f
9 changed files with 872 additions and 706 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ pub fn init(cx: &mut App) {
cx.observe_global::<SettingsStore>(|cx| {
let zlog_settings = ZlogSettings::get_global(cx);
zlog::scope_map::refresh_from_settings(&zlog_settings.scopes);
zlog::filter::refresh_from_settings(&zlog_settings.scopes);
})
.detach();
}