botlog module

This commit is contained in:
ModulatingForce 2024-03-02 10:06:26 -05:00
commit 90b9b66e6d
9 changed files with 404 additions and 238 deletions

View file

@ -3,7 +3,8 @@ use tokio::sync::RwLock;
use casual_logger::{Extension, Level, Log};
use bot_lib::core::botinstance::{BotInstance,botlog};
use bot_lib::core::botinstance::BotInstance;
use bot_lib::core::botlog;
use bot_lib::core::botmodules;
pub type BotAR = Arc<RwLock<BotInstance>>;
@ -48,7 +49,6 @@ pub async fn main() {
bot.runner().await;
let pstr =
botlog::fatal("ERROR : EXIT Game loop", Some("main()".to_string()), None);
let pstr = botlog::fatal("ERROR : EXIT Game loop", Some("main()".to_string()), None);
panic!("{}", pstr);
}