Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Commit

Permalink
use env_logger
Browse files Browse the repository at this point in the history
  • Loading branch information
guni1192 committed Feb 14, 2019
1 parent f8e9acf commit add9025
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 0 deletions.
115 changes: 115 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ tar = "0.4"
flate2 = "1.0"
dirs = "1.0"
log = "0.4"
env_logger = "0.6.0"
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#[macro_use]
extern crate serde_derive;
extern crate env_logger;

use std::process::exit;

Expand All @@ -15,6 +16,8 @@ mod network;
mod runner;

fn main() {
env_logger::init();

let mut app = App::new(crate_name!())
.version(crate_version!())
.author("Takashi IIGUNI <ad2314ce71926@gmail.com>")
Expand Down

0 comments on commit add9025

Please sign in to comment.