initial integration with telem viz

This commit is contained in:
2026-01-02 15:36:50 -05:00
parent 59b5679dda
commit 275cb07c4c
16 changed files with 1408 additions and 190 deletions

View File

@@ -1,6 +1,6 @@
use anyhow::Result;
use fern::colors::{Color, ColoredLevelConfig};
use log::debug;
use log::{LevelFilter, debug};
use std::fs::create_dir_all;
use std::str::FromStr;
use std::{env, thread};
@@ -46,6 +46,9 @@ pub fn setup_logger(package_name: &'static str) -> Result<()> {
.chain(
fern::Dispatch::new()
.level(log_level)
.level_for("tungstenite", LevelFilter::Warn)
.level_for("tokio_tungstenite", LevelFilter::Warn)
.level_for("api", LevelFilter::Info)
.chain(std::io::stdout()),
)
.chain(fern::log_file(log_file.clone())?)