{"id":64845,"library":"cortex-m-log","title":"Cortex-M Log","description":"Logging facilities for Cortex-M processors in embedded Rust.","status":"active","version":"0.8.0","language":"rust","source_language":null,"source_url":"https://github.com/DoumanAsh/cortex-m-log","tags":["cortex-m","logging","embedded","no-std"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ncortex-m-log = \"0.8.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add cortex-m-log","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Logger","correct":"use cortex_m_log::log::Logger;"}],"quickstart":{"code":"use cortex_m_log::log::Logger;\nuse cortex_m_log::printer::itm::ItmPrinter;\n\nfn main() {\n    let printer = ItmPrinter::new();\n    let mut logger = Logger::new(printer);\n    logger.log(\"Hello from Cortex-M!\");\n}","lang":"rust","description":"Initialize a logger using ITM output."},"warnings":[{"fix":"Ensure your microcontroller supports ITM or use a different printer (e.g., semihosting).","message":"Requires hardware support for ITM or semihosting.","severity":"gotcha","affected_versions":">=0.8.0"}],"env_vars":null,"search_vec":"'cortex':2,9,16 'cortex-m':1,8,15 'embed':13,19 'facil':6 'log':4,5,18 'm':3,10,17 'no-std':20 'processor':11 'rust':14 'std':22","created_at":"2026-06-17T17:00:55.374422+00:00","updated_at":"2026-06-17T17:00:55.374422+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/DoumanAsh/cortex-m-log","github":"https://github.com/DoumanAsh/cortex-m-log","docs":"https://docs.rs/cortex-m-log/","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-17","next_check":"2026-12-14","install_tag":null}}