feat: add console-subscriber for improved logging and tracing support

This commit is contained in:
Tunglies
2025-08-18 23:40:25 +08:00
parent 756751b765
commit f0dbe9fa60
4 changed files with 195 additions and 16 deletions

View File

@@ -1,4 +1,6 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
fn main() {
#[cfg(feature = "tokio-trace")]
console_subscriber::init();
app_lib::run();
}