log_data_element(log_level, 0, msg, TRUE);
log_data_element(function, log_level, 0, msg, TRUE);
print_xml_formatted(int log_level, const char *function,		    crm_data_t *msg, const char *text){	if(msg == NULL) {		do_crm_log(log_level, function, NULL, "%s: %s",			   crm_str(text), "<null>");		return;	}	do_crm_log(log_level, function, NULL, "%s:",		   crm_str(text));	log_data_element(log_level, 0, msg, TRUE);	return;}