mirror of https://gerrit.osmocom.org/libosmocore
gsm/sms: Added DLSMS debugging
Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
153903c8cf
commit
c626da9f87
|
@ -67,7 +67,8 @@ void logp(int subsys, char *file, int line, int cont, const char *format, ...) _
|
||||||
#define DLMUX -4
|
#define DLMUX -4
|
||||||
#define DLMI -5
|
#define DLMI -5
|
||||||
#define DLMIB -6
|
#define DLMIB -6
|
||||||
#define OSMO_NUM_DLIB 6
|
#define DLSMS -7
|
||||||
|
#define OSMO_NUM_DLIB 7
|
||||||
|
|
||||||
struct log_category {
|
struct log_category {
|
||||||
uint8_t loglevel;
|
uint8_t loglevel;
|
||||||
|
|
|
@ -100,6 +100,12 @@ static const struct log_info_cat internal_cat[OSMO_NUM_DLIB] = {
|
||||||
.description = "A-bis Input Driver for B-Channels (voice)",
|
.description = "A-bis Input Driver for B-Channels (voice)",
|
||||||
.enabled = 0, .loglevel = LOGL_NOTICE,
|
.enabled = 0, .loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
|
[INT2IDX(DLSMS)] = {
|
||||||
|
.name = "DLSMS",
|
||||||
|
.description = "Layer3 Short Message Service (SMS)",
|
||||||
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
||||||
|
.color = "\033[1;38m",
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
/* You have to keep this in sync with the structure loglevel_strs. */
|
/* You have to keep this in sync with the structure loglevel_strs. */
|
||||||
|
|
Loading…
Reference in New Issue