shared_log_printf_c

	status.i4.v = shared_log_printf_c(file_id.i1a.r, type.i4.v,
					  priority.i4.v, author.i1a.r,
					  color.i4.v, format_string.i1a.r
					  [,value_1, value_2, ...])

	This routine writes a formatted string to a shared circular log file.
	The maximum usable length of the formatted string is LOG_MESSLEN
	characters.

	file_id		log file name (LOG_NAMLEN characters)
			(If "file_id" equals "LOCL_LOG", the message will
			 be written to the local console log.)
	type		type of entry
			(LOG_INF -> informative,
			 LOG_ERROR -> error message)
	priority	priority of entry
	author		author string (LOG_AUTLEN characters)
			(If a value of NULL is passed for this argument,
			 the process name (PAxxxx) is used.)
	color		color to dislay entry in log_read
			(If a value of CLIB_DEFAULT_ARG is passed for this
			 argument, CYAN is used for LOG_INF entries and RED
			 for LOG_ERROR entries.)
			(constants are in cnsparam)
	format_string	null terminated string which contains the
			characters to be written literally or converted
			as specified by the optional value arguments
	[value_1...]	optional values which correspond to conversion
			expressions in the format string

	This function returns ACNET status values as follows:

	OK			success
	CBS_INVTYP		invalid entry type
	CBS_CORRUPT		bad header information
	CBS_GENERR		update of local log failed
	CBS_NO_SUCH		shared log does not exist
	SQL_xxx			error accessing log file

	This function requires the following include files:

	cnsparam_h, cbslib_h, acnet_errors_h

	Related functions:

	shared_log_printf_multiline_c, log_write, log_write_multiline_c,
	log_read, log_read_setup_c

	C/C++ usage:

	static const char	file_id[LOG_NAMLEN+1] = "SEQRLOGS";
	static const char	format_string[] = "Error message to log - %F";
	static const char	author[LOG_AUTLEN+1] = "Seqncr";
	int	status;
	int	type = LOG_ERROR;
	int	priority = 0;
	int	color = RED;

	status = shared_log_printf_c(file_id,type,priority,author,color,
				     format_string,CNV_ERROR,error);