#include <cat/cat.h>
#include <cat/log.h>
int catlog_mklabel(const char *facility, const char *lbl, unsigned code, const char *description);
facility is the facility tag (see catlog).
label is the message tag (see catlog).
code is the ELS code (see catlog).
description is the ELS description string, with embedded ``&character'' sequences, where each sequence causes a single piece of information (as set with catlog_set()) to be included in the event log message. See catlog for details of ELS description strings.
This function returns CAT_OK if successful, or a negative code on error.