diff options
| author | mat <git@matdoes.dev> | 2023-11-18 00:58:47 -0600 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-11-18 00:58:47 -0600 |
| commit | 9633508a3a31a70c657329fdeca0050b7082959e (patch) | |
| tree | 9973ed4e60a0bd2b77413a195b2a166854f04d43 /azalea/src | |
| parent | b79ae025f08935044c621259d4e0c4bb72bbcd7f (diff) | |
| download | azalea-drasl-9633508a3a31a70c657329fdeca0050b7082959e.tar.xz | |
replace log with tracing
Diffstat (limited to 'azalea/src')
| -rw-r--r-- | azalea/src/bot.rs | 2 | ||||
| -rw-r--r-- | azalea/src/pathfinder/astar.rs | 2 | ||||
| -rw-r--r-- | azalea/src/pathfinder/mod.rs | 2 | ||||
| -rw-r--r-- | azalea/src/swarm/mod.rs | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/azalea/src/bot.rs b/azalea/src/bot.rs index 4fe10e74..2281deaf 100644 --- a/azalea/src/bot.rs +++ b/azalea/src/bot.rs @@ -22,8 +22,8 @@ use bevy_app::{FixedUpdate, Update}; use bevy_ecs::prelude::Event; use bevy_ecs::schedule::IntoSystemConfigs; use futures_lite::Future; -use log::trace; use std::f64::consts::PI; +use tracing::trace; use crate::pathfinder::PathfinderPlugin; diff --git a/azalea/src/pathfinder/astar.rs b/azalea/src/pathfinder/astar.rs index 98525e03..163189af 100644 --- a/azalea/src/pathfinder/astar.rs +++ b/azalea/src/pathfinder/astar.rs @@ -5,9 +5,9 @@ use std::{ time::{Duration, Instant}, }; -use log::{debug, trace, warn}; use priority_queue::PriorityQueue; use rustc_hash::FxHashMap; +use tracing::{debug, trace, warn}; pub struct Path<P, M> where diff --git a/azalea/src/pathfinder/mod.rs b/azalea/src/pathfinder/mod.rs index c7f05eae..db508004 100644 --- a/azalea/src/pathfinder/mod.rs +++ b/azalea/src/pathfinder/mod.rs @@ -41,11 +41,11 @@ use bevy_ecs::schedule::IntoSystemConfigs; use bevy_ecs::system::{Local, ResMut}; use bevy_tasks::{AsyncComputeTaskPool, Task}; use futures_lite::future; -use log::{debug, error, info, trace, warn}; use std::collections::VecDeque; use std::sync::atomic::{self, AtomicUsize}; use std::sync::Arc; use std::time::{Duration, Instant}; +use tracing::{debug, error, info, trace, warn}; use self::mining::MiningCache; use self::moves::{ExecuteCtx, IsReachedCtx, SuccessorsFn}; diff --git a/azalea/src/swarm/mod.rs b/azalea/src/swarm/mod.rs index 585e2608..05aabe68 100644 --- a/azalea/src/swarm/mod.rs +++ b/azalea/src/swarm/mod.rs @@ -16,11 +16,11 @@ use azalea_world::InstanceContainer; use bevy_app::{App, PluginGroup, PluginGroupBuilder, Plugins}; use bevy_ecs::{component::Component, entity::Entity, system::Resource, world::World}; use futures::future::{join_all, BoxFuture}; -use log::error; use parking_lot::{Mutex, RwLock}; use std::{collections::HashMap, future::Future, net::SocketAddr, sync::Arc, time::Duration}; use thiserror::Error; use tokio::sync::mpsc; +use tracing::error; use crate::{BoxHandleFn, DefaultBotPlugins, HandleFn, NoState}; |
