cl_log(log_as, "(%s [%d]) %s%c", function, log_level, buf, 0); 
if(function == NULL) { cl_log(log_as, "%s", buf);  } else { cl_log(log_as, "%s: %s", function, buf); } 
do_crm_log(int log_level, const char *function,	   const char *alt_debugfile, const char *fmt, ...){	int log_as = log_level;	gboolean do_log = FALSE;	if(log_level < LOG_INFO) {		do_log = TRUE;	} else if(log_level <= crm_log_level) {		do_log = TRUE;		if(log_level != LOG_INFO) {			log_as = LOG_DEBUG;		}	}	if(do_log) {		va_list ap;		char	*buf = NULL;		int	nbytes;				va_start(ap, fmt);		nbytes=vasprintf(&buf, fmt, ap);		va_end(ap);		cl_log(LOG_DEBUG, "Dumped %d bytes", nbytes);		if(function == NULL) {			cl_log(log_as, "[%d] %s%c", log_level, buf, 0);		} else {			cl_log(log_as, "(%s [%d]) %s%c",			       function, log_level, buf, 0);		}				if(nbytes > MAXLINE) {			cl_log(LOG_WARNING,			       "Log from %s() was truncated", function);		}		free(buf);	}}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/9f3177068cb5fff38c501c7cc62bf5a1a7873db0/utils.c/buggy/crm/common/utils.c