crm_debug("#!!#!!# End Transitioner state"); if(to_file) { do_crm_log(LOG_DEBUG, __FUNCTION__, DEVEL_DIR"/te.log", "End Transitioner state"); }
do_crm_log(log_level, __FUNCTION__, NULL, "###########");
print_state(gboolean to_file){	if(to_file) {		do_crm_log(LOG_DEBUG, __FUNCTION__, DEVEL_DIR"/te.log",			   "Start Transitioner state\n");	}	crm_debug("#!!#!!# Start Transitioner state");	if(graph == NULL) {		crm_debug("\tEmpty transition graph");		crm_debug("#!!#!!# End Transitioner state");		if(to_file) {			do_crm_log(LOG_INFO, __FUNCTION__, DEVEL_DIR"/te.log",				"\tEmpty transition graph\n"				"End Transitioner state");		}		return;	}	slist_iter(		synapse, synapse_t, graph, lpc,		crm_debug("Synapse %d %s",			  synapse->id,			  synapse->complete?"has completed":"is pending");				if(to_file) {			do_crm_log(LOG_INFO, __FUNCTION__, DEVEL_DIR"/te.log",				   "Synapse %d %s",				   synapse->id,				   synapse->complete?"has completed":"is pending");		}		if(synapse->complete == FALSE) {			slist_iter(				input, action_t, synapse->inputs, lpc2,								print_input("\t", input, to_file);								);		}				slist_iter(			action, action_t, synapse->actions, lpc2,			print_action("\t", action, to_file);			);		);		crm_debug("#!!#!!# End Transitioner state");		if(to_file) {		do_crm_log(LOG_DEBUG, __FUNCTION__, DEVEL_DIR"/te.log",			   "End Transitioner state");	}}