Log debug

    0

    0

    Giovanny Gongora

    Codiga's Rust Recipes

    show a debug message

    fn execute_query(query: &str) {
      log::debug!("Executing query: {}", query);
    }
    fn main() {
      env_logger::init();
      execute_query("DROP TABLE students");
    }
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.