#include <cat/cat.h>
#include <cat/log.h>
int catlog_event(cat_session *sess, const char *label, const char **params);
"facility.label"
, as installed with catlog_mklabel(). If the
"facility"
part is omitted, the default facility is used. Additional parameters
specified as a NULL-terminated array of strings will become the positional
parameters of the log message.
The function returns CAT_OK if successful, or a negative code otherwise.