Initialize the logger
- Id
- bc7e8004d7eb514f74677c1baf33165408b5d497
- Author
- Caio
- Commit time
- 2020-02-02T12:41:23+01:00
Modified cantine/src/bin/load.rs
};
use crossbeam_channel::unbounded;
+use env_logger;
use serde_json;
use tantivy::{self, directory::MmapDirectory, schema::SchemaBuilder, Index, Result};
}
fn main() -> Result<()> {
+ env_logger::init();
+
let output_dir = env::args()
.nth(1)
.expect("First parameter must be the output directory");