38 lines
764 B
C
38 lines
764 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[] = {
|
|
[DOPTIONS] = {
|
|
.name = "DOPTIONS",
|
|
.description = "config options",
|
|
.color = "\033[0;33m",
|
|
},
|
|
[DJITTER] = {
|
|
.name = "DJITTER",
|
|
.description = "jitter buffer handling",
|
|
.color = "\033[0;36m",
|
|
},
|
|
[DDSP] = {
|
|
.name = "DDSP",
|
|
.description = "digital signal processing",
|
|
.color = "\033[0;31m",
|
|
},
|
|
[DSS5] = {
|
|
.name = "DSS5",
|
|
.description = "Signaling System No. 5",
|
|
.color = "\033[1;34m",
|
|
},
|
|
[DR1] = {
|
|
.name = "DR1",
|
|
.description = "R1 Signaling (2600 Hz)",
|
|
.color = "\033[1;34m",
|
|
},
|
|
};
|
|
|
|
size_t log_categories_size = ARRAY_SIZE(log_categories);
|
|
|