mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Add env logger to enable logging
This commit is contained in:
parent
8a36571a74
commit
64791815fa
3 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,8 @@ use meilidb_http::routes;
|
|||
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
||||
|
||||
pub fn main() -> Result<(), MainError> {
|
||||
env_logger::init();
|
||||
|
||||
let opt = Opt::new();
|
||||
|
||||
let data = Data::new(opt.clone());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue