botlog module
This commit is contained in:
parent
a2747b1ad5
commit
90b9b66e6d
9 changed files with 404 additions and 238 deletions
src
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue