{"id":63110,"library":"indicatif-log-bridge","title":"Indicatif Log Bridge","description":"Bridge the log crate and indicatif to stop log lines from mixing up with progress bars.","status":"active","version":"0.2.3","language":"rust","source_language":null,"source_url":"https://github.com/djugei/indicatif-log-bridge","tags":["logging","progress","indicatif","bridge"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nindicatif-log-bridge = \"0.2.3\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add indicatif-log-bridge","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"LogWrapper","correct":"use indicatif_log_bridge::LogWrapper;"}],"quickstart":{"code":"use indicatif_log_bridge::LogWrapper;\nuse indicatif::ProgressBar;\nuse log::info;\n\nfn main() {\n    let pb = ProgressBar::new(100);\n    let log_wrapper = LogWrapper::new(pb.clone());\n    log::set_boxed_logger(Box::new(log_wrapper)).unwrap();\n    log::set_max_level(log::LevelFilter::Info);\n    info!(\"This message won't mess up the progress bar.\");\n    pb.finish();\n}","lang":"rust","description":"Integrate log messages with indicatif progress bars to avoid output corruption."},"warnings":[{"fix":"Initialize the LogWrapper early in main, before any logging occurs.","message":"Must set the logger before any log output; otherwise, log messages may still interfere.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'bar':19 'bridg':3,4,23 'crate':7 'indicatif':1,9,22 'line':13 'log':2,6,12,20 'mix':15 'progress':18,21 'stop':11","created_at":"2026-06-17T16:39:55.734647+00:00","updated_at":"2026-06-17T16:39:55.734647+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/djugei/indicatif-log-bridge","github":"https://github.com/djugei/indicatif-log-bridge","docs":"https://docs.rs/indicatif-log-bridge/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["logging","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}