Skip to content

Commit

Permalink
Merge pull request #73 from DesmondWillowbrook/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Drakulix committed Apr 2, 2021
2 parents 1d26f67 + dd8f9b3 commit cbd48ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use std::fs::File;
fn main() {
CombinedLogger::init(
vec![
TermLogger::new(LevelFilter::Warn, Config::default(), TerminalMode::Mixed),
TermLogger::new(LevelFilter::Warn, Config::default(), TerminalMode::Mixed, ColorChoice::Auto),
WriteLogger::new(LevelFilter::Info, Config::default(), File::create("my_rust_binary.log").unwrap()),
]
).unwrap();
Expand Down

0 comments on commit cbd48ec

Please sign in to comment.