pub fn format_script_for_log(code: &str, language: &str) -> String
Format script code with a header and syntax highlighting
Returns a formatted, highlighted code block suitable for DEBUG logs