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"
20
20
rustc-serialize = " 0.3.18"
21
21
pulldown-cmark = " 0.0.8"
22
22
log = " 0.3"
23
+ env_logger = " 0.3.4"
23
24
24
25
# Watch feature
25
26
notify = { version = " 2.5.5" , optional = true }
Original file line number Diff line number Diff line change 2
2
extern crate mdbook;
3
3
#[ macro_use]
4
4
extern crate clap;
5
+ #[ macro_use]
6
+ extern crate log;
7
+ extern crate env_logger;
5
8
6
9
// Dependencies for the Watch feature
7
10
#[ cfg( feature = "watch" ) ]
@@ -38,6 +41,8 @@ use mdbook::MDBook;
38
41
const NAME : & ' static str = "mdbook" ;
39
42
40
43
fn main ( ) {
44
+ env_logger:: init ( ) . unwrap ( ) ;
45
+
41
46
// Create a list of valid arguments and sub-commands
42
47
let matches = App :: new ( NAME )
43
48
. 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