🐛 tracing_forest crate isn't used for wasm
This commit is contained in:
@@ -13,7 +13,6 @@ use std::rc::Rc;
|
||||
use dioxus::prelude::*;
|
||||
use futures_util::stream::StreamExt;
|
||||
use tracing::{debug, error, warn};
|
||||
use tracing_forest::ForestLayer;
|
||||
use tracing_subscriber::{prelude::*, EnvFilter};
|
||||
|
||||
use crate::{
|
||||
@@ -29,10 +28,12 @@ cfg_if! {
|
||||
if #[cfg(target_family = "wasm")] {
|
||||
use tracing_web::MakeWebConsoleWriter;
|
||||
} else {
|
||||
use dioxus::desktop::Config;
|
||||
use std::fs::File;
|
||||
|
||||
use dioxus::desktop::Config;
|
||||
use time::format_description::well_known::Iso8601;
|
||||
use tracing_subscriber::fmt::time::UtcTime;
|
||||
use tracing_forest::ForestLayer;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user