Permalink
Browse files

Updated log

  • Loading branch information...
Aaronepower committed Jan 6, 2018
1 parent 477503e commit 14f05734b46ce5c9dfa25cee75210ede2249943b
Showing with 105 additions and 11 deletions.
  1. +98 −4 Cargo.lock
  2. +1 −1 Cargo.toml
  3. +6 −6 src/main.rs
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -44,7 +44,7 @@ clap = "2.24"
[dependencies.env_logger]
features = []
version = "0.4"
version = "0.5.0-rc.1"
[dependencies.hex]
version = "0.3"
View
@@ -12,8 +12,8 @@ use input::*;
use std::borrow::Cow;
use env_logger::LogBuilder;
use log::LogLevelFilter;
use env_logger::Builder;
use log::LevelFilter;
use tokei::{Languages, Language, LanguageType};
use tokei::Sort::*;
@@ -56,15 +56,15 @@ fn main() {
ignored_directories
};
let mut builder = LogBuilder::new();
let mut builder = Builder::new();
let filter_level = match verbose_option {
1 => LogLevelFilter::Warn,
_ => LogLevelFilter::Error,
1 => LevelFilter::Warn,
_ => LevelFilter::Error,
};
builder.filter(None, filter_level);
builder.init().expect("Couldn't create ENV Logger");
builder.init();
let mut languages = Languages::new();

0 comments on commit 14f0573

Please sign in to comment.