This commit is contained in:
Simon
2025-09-13 07:26:55 +00:00
parent a096ec66f2
commit 5e5838debf
5 changed files with 272 additions and 6 deletions

View File

@@ -32,8 +32,10 @@ async fn main() -> std::io::Result<()> {
dotenv().ok();
// Enable request logging
unsafe {
std::env::set_var("RUST_LOG", "warn");
if std::env::var("RUST_LOG").is_err() {
unsafe{
std::env::set_var("RUST_LOG", "warn");
}
}
env_logger::init(); // You need this to actually see logs