very nice colored debugging and uncolored syslog

FossilOrigin-Name: 971a1f2eed2f25720af6be55c80d36ad5dc59e8ea11c48d2400bfaf7d774e59f
This commit is contained in:
7u83@mail.ru
2018-03-18 22:51:59 +00:00
parent 8d3d8f35f1
commit 6a5bd334e5
8 changed files with 152 additions and 184 deletions

View File

@ -35,24 +35,24 @@
* Debug strings
*/
struct cw_StrListElem cw_dbg_strings[] = {
{ DBG_INFO, "info", "Schow diverse info messages" },
{ DBG_PKT_IN, "pkt_in" , "Show headers of incomming CAPWAP packets"},
{ DBG_PKT_OUT, "pkt_out", "Show headers of outgoing CAPWAP packets" },
{ DBG_PKT_ERR, "pkt_err", "Incomming CAPWAP packets with errors, wich would"
"usually silently discarded" },
{ DBG_PKT_DMP, "pkt_dmp", "Dump content of incomming/outgoing packets."
"Requires pkt_in/pkt_out"},
{ DBG_MSG_IN, "msg_in", "Display incomming CAPWAP/LWAPP messages." },
{ DBG_MSG_OUT, "msg_out","Display outgoing CAPWAP/LWAPP messages."},
{ DBG_MSG_ERR, "msg_err", "Messages wirh errors" },
{ DBG_INFO, "info", },
{ DBG_PKT_IN, "pkt_in" },
{ DBG_PKT_OUT, "pkt_out" },
{ DBG_PKT_ERR, "pkt_err" },
{ DBG_PKT_DMP, "pkt_dmp" },
{ DBG_MSG_IN, "msg_in" },
{ DBG_MSG_OUT, "msg_out" },
{ DBG_MSG_DMP, "msg_dmp" },
{ DBG_MSG_ERR, "msg_err"},
{ DBG_RFC, "rfc", "RFC related errors"},
{ DBG_ELEM_IN, "elem_in", "Elements of incomming messages" },
{ DBG_ELEM_OUT, "elem_out", "Elements of outgoing messages" },
{ DBG_ELEM_DMP, "elem_dmp" , "Dump elements" },
{ DBG_RFC, "rfc", },
{ DBG_ELEM_IN, "elem_in"},
{ DBG_ELEM_OUT, "elem_out"},
{ DBG_ELEM_DMP, "elem_dmp"},
{ DBG_SUBELEM, "subelem", "Show sub-elements." },
{ DBG_SUBELEM_DMP, "subelem_dmp", "Dump sub-elements" },
{ DBG_SUBELEM, "subelem"},
{ DBG_SUBELEM_DMP, "subelem_dmp" },
{ DBG_ELEM_DETAIL, "elem_detail"},