{"id":58319,"library":"simple-logging","title":"Simple Logging","description":"A simple logger for the log facade","status":"active","version":"2.0.2","language":"rust","source_language":null,"source_url":"https://github.com/Ereski/simple-logging","tags":["logging","simple","file","utility"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nsimple-logging = \"2.0.2\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add simple-logging","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"log_to_file","correct":"use simple_logging::log_to_file;"}],"quickstart":{"code":"use simple_logging::log_to_file;\nuse log::info;\n\nfn main() {\n    log_to_file(\"test.log\", log::LevelFilter::Info).unwrap();\n    info!(\"Hello, world!\");\n}","lang":"rust","description":"Sets up logging to a file and logs an info message."},"warnings":[{"fix":"Add `log = \"0.4\"` to Cargo.toml.","message":"Requires the `log` crate as a dependency for the log facade.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'facad':9 'file':12 'log':2,8,10 'logger':5 'simpl':1,4,11 'util':13","created_at":"2026-06-16T16:19:17.475931+00:00","updated_at":"2026-06-16T16:19:17.475931+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/Ereski/simple-logging","github":"https://github.com/Ereski/simple-logging","docs":"https://docs.rs/simple-logging/","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}}