diff options
-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 f9815f3..ec6c95f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,6 +7,7 @@ use warp::{Filter, host::Authority}; #[tokio::main] async fn main() { + #[cfg(debug_assertions)] console_subscriber::init(); // TODO json logging in the future? let logger_env = env_logger::Env::new().filter_or("RUST_LOG", "info"); |