crm_log_maybe(log_level, "###########");
print_state(int log_level){	if(graph == NULL && log_level > LOG_DEBUG) {		crm_debug("## Empty transition graph ##");		return;	}	crm_log_maybe(log_level, "###########");	slist_iter(		synapse, synapse_t, graph, lpc,		crm_log_maybe(log_level, "Synapse %d %s", synapse->id,			      synapse->confirmed?"was confirmed":synapse->complete?"was executed":"is pending");		if(synapse->confirmed == FALSE) {			slist_iter(				action, action_t, synapse->actions, lpc2,				print_action("\t", action, log_level);				);		}		if(synapse->complete == FALSE) {			slist_iter(				input, action_t, synapse->inputs, lpc2,				print_input("\t", input, log_level);				);		}				);		crm_log_maybe(log_level, "###########");}