File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ handlebars = "0.20.0"
2020rustc-serialize = " 0.3.18"
2121pulldown-cmark = " 0.0.8"
2222log = " 0.3"
23+ env_logger = " 0.3.4"
2324
2425# Watch feature
2526notify = { version = " 2.5.5" , optional = true }
Original file line number Diff line number Diff line change 22extern crate mdbook;
33#[ macro_use]
44extern crate clap;
5+ #[ macro_use]
6+ extern crate log;
7+ extern crate env_logger;
58
69// Dependencies for the Watch feature
710#[ cfg( feature = "watch" ) ]
@@ -38,6 +41,8 @@ use mdbook::MDBook;
3841const NAME : & ' static str = "mdbook" ;
3942
4043fn main ( ) {
44+ env_logger:: init ( ) . unwrap ( ) ;
45+
4146 // Create a list of valid arguments and sub-commands
4247 let matches = App :: new ( NAME )
4348 . about ( "Create a book in form of a static website from markdown files" )
You can’t perform that action at this time.
0 commit comments