Skip to content

Commit

Permalink
feat: log info and above by default
Browse files Browse the repository at this point in the history
  • Loading branch information
adriencaccia committed Nov 24, 2023
1 parent 92bb265 commit e791881
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
use log::LevelFilter;

mod app;
mod config;
mod prelude;
Expand All @@ -8,7 +10,7 @@ pub const VERSION: &str = env!("CARGO_PKG_VERSION");

#[tokio::main(flavor = "current_thread")]
async fn main() {
env_logger::init();
env_logger::builder().filter_level(LevelFilter::Info).init();
let res = crate::app::run().await;
if let Err(err) = res {
eprintln!("Error: {}", err);
Expand Down

0 comments on commit e791881

Please sign in to comment.