mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Use the log crate instead of stderr
This commit is contained in:
parent
2c62eeea3c
commit
12358476da
7 changed files with 150 additions and 39 deletions
|
@ -4,8 +4,9 @@ use std::path::PathBuf;
|
|||
use std::time::Instant;
|
||||
|
||||
use heed::EnvOpenOptions;
|
||||
use structopt::StructOpt;
|
||||
use log::debug;
|
||||
use milli::{Index, BEU32};
|
||||
use structopt::StructOpt;
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
#[global_allocator]
|
||||
|
@ -62,7 +63,7 @@ fn main() -> anyhow::Result<()> {
|
|||
}
|
||||
}
|
||||
|
||||
eprintln!("Took {:.02?} to find {} documents", before.elapsed(), documents_ids.len());
|
||||
debug!("Took {:.02?} to find {} documents", before.elapsed(), documents_ids.len());
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue