♻️ Replace tracing dependency with dioxus-logger

tracing package doesn't support web platform when dioxus-logger `will eventually support every target that Dioxus
does. Currently only web and desktop platforms are supported.`
This commit is contained in:
2024-04-06 11:51:46 +02:00
parent f78765e553
commit 0ec1187fc3
15 changed files with 16 additions and 20 deletions

View File

@@ -1,11 +1,11 @@
use std::cell::RefCell;
use std::sync::Arc;
use log::{debug, error};
use tokio::sync::broadcast;
use tokio::sync::broadcast::Sender;
use tokio::sync::mpsc::{unbounded_channel, UnboundedReceiver};
use tokio::task::JoinHandle;
use tracing::{debug, error};
use matrix_sdk::{
config::SyncSettings,

View File

@@ -3,10 +3,10 @@ use std::fmt;
use std::io::Result as IoResult;
use std::sync::OnceLock;
use log::error;
use rand::distributions::{Alphanumeric, DistString};
use reqwest::Result as RequestResult;
use tokio::fs::read_to_string;
use tracing::error;
#[derive(Eq, PartialEq, Hash)]
pub enum AvatarFeeling {