mirror of https://gerrit.osmocom.org/libosmocore
add DLMGCP logging category for libosmo-mgcp
In the course of splitting up the openbsc.git repository, we will create libosmo-mgcp and need a library logging category for that purpose. Change-Id: I09c587e2d59472cbde852d467d457254746d9e67
This commit is contained in:
parent
5ade8f4b72
commit
a7ccf6158c
|
@ -104,7 +104,8 @@ void logp(int subsys, const char *file, int line, int cont, const char *format,
|
|||
#define DLSCCP -14 /*!< Osmocom SCCP */
|
||||
#define DLSUA -15 /*!< Osmocom SUA */
|
||||
#define DLM3UA -16 /*!< Osmocom M3UA */
|
||||
#define OSMO_NUM_DLIB 16 /*!< Number of logging sub-systems in libraries */
|
||||
#define DLMGCP -17 /*!< Osmocom MGCP */
|
||||
#define OSMO_NUM_DLIB 17 /*!< Number of logging sub-systems in libraries */
|
||||
|
||||
/*! Configuration of single log category / sub-system */
|
||||
struct log_category {
|
||||
|
|
|
@ -161,6 +161,11 @@ static const struct log_info_cat internal_cat[OSMO_NUM_DLIB] = {
|
|||
.description = "libosmo-sigtran MTP3 User Adaptation",
|
||||
.enabled = 1, .loglevel = LOGL_NOTICE,
|
||||
},
|
||||
[INT2IDX(DLMGCP)] = {
|
||||
.name = "DLMGCP",
|
||||
.description = "libosmo-mgcp Media Gateway Control Protocol",
|
||||
.enabled = 1, .loglevel = LOGL_NOTICE,
|
||||
},
|
||||
};
|
||||
|
||||
/*! descriptive string for each log level */
|
||||
|
|
Loading…
Reference in New Issue