From e2bc26e907c10def259f52401804f7f6d00c498c Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 17 Apr 2022 08:56:43 +0300 Subject: added tokio-console instrumentation support --- src/main.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index c69a6c6..b4eeed5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,6 +7,7 @@ use warp::{Filter, host::Authority}; #[tokio::main] async fn main() { + console_subscriber::init(); // TODO json logging in the future? let logger_env = env_logger::Env::new().filter_or("RUST_LOG", "info"); env_logger::init_from_env(logger_env); -- cgit 1.4.1