feat: use Arc & Mutex for LepTess
This commit is contained in:
@ -5,13 +5,11 @@ pub mod constants;
|
||||
pub mod tesseract;
|
||||
|
||||
pub fn setup_logger(level: &str) -> Result<(), fern::InitError> {
|
||||
// I don't really know how to do it because the unset variable trick doesn't work
|
||||
// since the types can be
|
||||
let formatter = fmt::format()
|
||||
.with_level(true)
|
||||
.with_target(true)
|
||||
.with_thread_ids(false)
|
||||
.with_thread_names(false); // include the name of the current thread.pretty();
|
||||
.with_thread_names(false);
|
||||
let filter = EnvFilter::builder()
|
||||
.from_env()
|
||||
.unwrap()
|
||||
|
||||
Reference in New Issue
Block a user