From dd8f9b32a8826da5f9273b1394b0574d28f67704 Mon Sep 17 00:00:00 2001 From: Kartavya Vashishtha <51814158+DesmondWillowbrook@users.noreply.github.com> Date: Fri, 2 Apr 2021 15:30:41 +0530 Subject: [PATCH] Update README.md to conform to v0.10 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a896f04..2428131b 100644 --- a/README.md +++ b/README.md @@ -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();