catlog_get - get logging information
#include <cat/cat.h>
#include <cat/log.h>
const char *catlog_get(cat_session *sess, int what);
This function retrieves information for parameter what, as set by a previous call to catlog_set(), either globally or for a specific session. If the sess argument is NULL, global data is returned.
The function returns a pointer to the internal data, which will become
invalid at the next call to catlog_set() for the same parameter in the same scope.
The function returns NULL if there is no matching value.
cat, catlog
catlog_set