Add env_logger
[litoprism.git] / src / main.rs
index 96cb1b30d025f21f1161d000d766ec2acc04c72d..ca0b17a4e70f9294ff2799f94a9ae52479b00c1b 100644 (file)
@@ -120,6 +120,7 @@ async fn img_gen1(req: HttpRequest, path: web::Path<(u32, u32, u32)>) -> Result<
 
 #[actix_web::main] // or #[tokio::main]
 async fn main() -> std::io::Result<()> {
+    env_logger::init();
     HttpServer::new(|| {
         App::new()
             .service(greet)