logger creates file

This commit is contained in:
2026-03-30 14:34:21 +07:00
parent 1f97db97c4
commit 71acb52386
6 changed files with 116 additions and 8 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ struct Args {
}
fn main() {
Logger::init();
Logger::init("./logs".into());
Logger::global().set_level("info"); //set error in prod
let args = Args::parse();
let net = Network::new(args.host, args.port, ConnectionRole::Server);