48 lines
946 B
C
48 lines
946 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",
|
|
},
|
|
[DJITTER] = {
|
|
.name = "DJITTER",
|
|
.description = "jitter buffer handling",
|
|
.color = "\033[0;36m",
|
|
},
|
|
[DISDN] = {
|
|
.name = "DISDN",
|
|
.description = "ISDN control",
|
|
.color = "\033[1;35m",
|
|
},
|
|
[DMISDN] = {
|
|
.name = "DMISDN",
|
|
.description = "mISDN stack",
|
|
.color = "\033[0;34m",
|
|
},
|
|
[DDSS1] = {
|
|
.name = "DDSS1",
|
|
.description = "ISDN DSS1 protocol",
|
|
.color = "\033[1;34m",
|
|
},
|
|
[DPH] = {
|
|
.name = "DPH",
|
|
.description = "PH SAP socket interface",
|
|
.color = "\033[0;33m",
|
|
},
|
|
};
|
|
|
|
size_t log_categories_size = ARRAY_SIZE(log_categories);
|
|
|