Skip to content

Commit

Permalink
init logger to actually work
Browse files Browse the repository at this point in the history
  • Loading branch information
ultram4rine committed Mar 12, 2022
1 parent 09914e3 commit cb984ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ mod duration;
mod server;

extern crate dotenv;
extern crate pretty_env_logger;

use std::{fs, sync::Arc};

Expand Down Expand Up @@ -45,6 +46,7 @@ struct Args {

#[tokio::main]
async fn main() -> Result<()> {
pretty_env_logger::init();
dotenv().ok();
let args = Args::parse();

Expand Down

0 comments on commit cb984ec

Please sign in to comment.