pub fn log_error(category: &str, message: impl Display)
Log an error message with category prefix (backward compatible)