Work on logging.c

This commit is contained in:
Andreas Eversberg 2022-12-27 18:31:08 +01:00
parent 513f3bba5a
commit 6a4a58d4b1
2 changed files with 22 additions and 8 deletions

View File

@ -15,12 +15,6 @@ static const struct log_info_cat log_categories[] = {
.color = "\033[1;36m",
.enabled = 1, .loglevel = LOGL_INFO,
},
[DV5PROV] = {
.name = "DV5PROV",
.description = "V5 re-provisioning protocol",
.color = "\033[1;37m",
.enabled = 1, .loglevel = LOGL_INFO,
},
[DV5PORT] = {
.name = "DV5PORT",
.description = "V5 port control protocol",
@ -33,10 +27,28 @@ static const struct log_info_cat log_categories[] = {
.color = "\033[0;37m",
.enabled = 1, .loglevel = LOGL_INFO,
},
[DV5LCP] = {
.name = "DV5LCP",
.description = "V5 LCP protocol",
.color = "\033[0;33m",
.enabled = 1, .loglevel = LOGL_INFO,
},
[DV5BCC] = {
.name = "DV5BCC",
.description = "V5 BCC protocol",
.color = "\033[1;32m",
.enabled = 1, .loglevel = LOGL_INFO,
},
[DV5PP] = {
.name = "DV5PP",
.description = "V5 Protection protocol",
.color = "\033[0;35m",
.enabled = 1, .loglevel = LOGL_INFO,
},
[DV5MGMT] = {
.name = "DV5MGMT",
.description = "V5 management",
.color = "\033[1;32m",
.color = "\033[1;37m",
.enabled = 1, .loglevel = LOGL_INFO,
},
[DV5EF] = {

View File

@ -5,9 +5,11 @@
enum {
DV5,
DV5CTRL,
DV5PROV,
DV5PORT,
DV5PSTN,
DV5LCP,
DV5BCC,
DV5PP,
DV5MGMT,
DV5EF,
DPH,