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 10:17:07 -04:00 committed by GitHub
parent 0eb0a3c7dc
commit 4a57664c7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 872 additions and 706 deletions

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();
}