diff --git a/src/main.rs b/src/main.rs index c4cbb69..be23d0b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -538,6 +538,10 @@ pub struct Authorization { #[async_std::main] async fn main() -> Result<()> { + #[cfg(debug_assertions)] + log::with_level(log::LevelFilter::Debug); + + #[cfg(not(debug_assertions))] log::with_level(log::LevelFilter::Error); let mut conf_file =