diff options
author | Vika <vika@fireburn.ru> | 2022-04-17 08:56:43 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2022-04-17 08:56:43 +0300 |
commit | e2bc26e907c10def259f52401804f7f6d00c498c (patch) | |
tree | 1dcf8001e4eb1e68745ef2e358af32a9a786c4c5 /src | |
parent | d65a7b6ce9ed74b5dad8c848cdeb49c7635f4062 (diff) | |
download | kittybox-e2bc26e907c10def259f52401804f7f6d00c498c.tar.zst |
added tokio-console instrumentation support
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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); |