replace log imports with tracing everywhere

This commit is contained in:
oars
2025-07-09 17:10:49 +03:00
parent b47fe86481
commit d85cf80dbf
169 changed files with 170 additions and 172 deletions

View File

@@ -17,9 +17,9 @@
*/
// ANCHOR: imports
use log::{debug, error, info};
use smol::{lock::Mutex, stream::StreamExt};
use std::{collections::HashSet, sync::Arc};
use tracing::{debug, error, info};
use darkfi::{
async_daemonize, cli_desc, net,

View File

@@ -19,9 +19,9 @@
// ANCHOR: protocol_dchat
use async_trait::async_trait;
use darkfi::{net, Result};
use log::debug;
use smol::Executor;
use std::sync::Arc;
use tracing::debug;
use crate::dchatmsg::{DchatMsg, DchatMsgsBuffer};

View File

@@ -18,9 +18,9 @@
use async_trait::async_trait;
use darkfi::{net::P2pPtr, system::StoppableTaskPtr};
use log::debug;
use smol::lock::MutexGuard;
use std::collections::HashSet;
use tracing::debug;
use darkfi::rpc::{
jsonrpc::{ErrorCode, JsonError, JsonRequest, JsonResponse, JsonResult},