parent
9b7650053e
commit
a82b4f94ac
2 changed files with 24 additions and 0 deletions
src
|
@ -16,8 +16,13 @@ pub type BotAR = Arc<RwLock<BotInstance>>;
|
|||
pub async fn main() {
|
||||
Log::set_file_ext(Extension::Log);
|
||||
Log::set_level(Level::Trace);
|
||||
Log::set_retention_days(2);
|
||||
// Log::set_level(Level::Notice);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
let bot = BotInstance::init().await;
|
||||
|
||||
{
|
||||
|
@ -53,3 +58,6 @@ pub async fn main() {
|
|||
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