{"id":57381,"library":"fern","title":"Fern","description":"Simple, efficient logging for Rust.","status":"active","version":"0.7.1","language":"rust","source_language":null,"source_url":"https://github.com/daboross/fern","tags":["logging","fern","log","configuration"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nfern = \"0.7.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add fern","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Dispatch","correct":"use fern::Dispatch;"}],"quickstart":{"code":"use fern::Dispatch;\n\nfn main() {\n    Dispatch::new()\n        .format(|out, message, record| out.finish(format_args!(\"[{}] {}\", record.level(), message)))\n        .chain(std::io::stdout())\n        .apply()\n        .unwrap();\n    log::info!(\"Hello, world!\");\n}","lang":"rust","description":"Sets up a basic logger that outputs to stdout with a custom format."},"warnings":[{"fix":"Add `log` to your Cargo.toml dependencies.","message":"Requires the `log` crate as a dependency to use logging macros.","severity":"gotcha","affected_versions":">=0.7.0"}],"env_vars":null,"search_vec":"'configur':10 'effici':3 'fern':1,8 'log':4,7,9 'rust':6 'simpl':2","created_at":"2026-06-16T15:40:20.829248+00:00","updated_at":"2026-06-16T15:40:20.829248+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/daboross/fern","github":"https://github.com/daboross/fern","docs":"https://docs.rs/fern/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["logging"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}