Initialize env_logger to CLI

This commit is contained in:
Dan Spencer
2015-04-13 00:53:43 -06:00
parent 6e06d129b7
commit 172d98a5b8

View File

@ -3,6 +3,8 @@
#[macro_use]
extern crate log;
extern crate env_logger;
extern crate linenoise;
extern crate llamadb;
@ -12,6 +14,8 @@ mod prettyselect;
use prettyselect::pretty_select;
fn main() {
env_logger::init().unwrap();
let mut lexer = llamadb::sqlsyntax::lexer::Lexer::new();
let mut db = llamadb::tempdb::TempDb::new();