osmo-cc-sip-endpoint/src/liblogging/categories.c

28 lines
542 B
C

#include <osmocom/core/utils.h>
#include <osmocom/core/logging.h>
#include "categories.h"
/* All logging categories used by this project. */
struct log_info_cat log_categories[] = {
[DLCC] = {
.name = "DLCC",
.description = "libosmo-cc CC Layer",
.color = "\033[0;37m",
},
[DOPTIONS] = {
.name = "DOPTIONS",
.description = "config options",
.color = "\033[0;33m",
},
[DSIP] = {
.name = "DSIP",
.description = "SIP processing",
.color = "\033[1;35m",
},
};
size_t log_categories_size = ARRAY_SIZE(log_categories);