adding tokio-console
This commit is contained in:
parent
a38c84b8f4
commit
0625e7f091
4 changed files with 1117 additions and 15 deletions
src
|
@ -14,6 +14,9 @@ pub type BotAR = Arc<RwLock<BotInstance>>;
|
|||
|
||||
#[tokio::main]
|
||||
pub async fn main() {
|
||||
console_subscriber::init();
|
||||
|
||||
|
||||
Log::set_file_ext(Extension::Log);
|
||||
Log::set_level(Level::Trace);
|
||||
Log::set_retention_days(2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue