diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2011-07-07 19:46:38 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-07-18 17:00:08 +0200 |
commit | 199f37723bfef9fb5e8d0f01729adb21e11f0638 (patch) | |
tree | d38dadad87d1e682fe7682d37f2c7169e24d239a /src | |
parent | 39c0243d9b208a5d480be2e5cf538b3eac87860d (diff) |
logging: add libosmo-abis logging subsystems
This adds the libosmo-abis logging subsystems to libosmocore,
it uses the new change that harald proposed based on negative
numbers for library logging subsystems.
Diffstat (limited to 'src')
-rw-r--r-- | src/logging.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/logging.c b/src/logging.c index 948b2a69..6aad6e15 100644 --- a/src/logging.c +++ b/src/logging.c @@ -72,6 +72,40 @@ static const struct log_info_cat internal_cat[OSMO_NUM_DLIB] = { .loglevel = LOGL_NOTICE, .enabled = 1, }, + [INT2IDX(DINP)] = { + .name = "DINP", + .description = "A-bis Intput Subsystem", + .loglevel = LOGL_NOTICE, + .enabled = 1, + }, + [INT2IDX(DMUX)] = { + .name = "DMUX", + .description = "A-bis B-Subchannel TRAU Frame Multiplex", + .loglevel = LOGL_NOTICE, + .enabled = 1, + }, + [INT2IDX(DMI)] = { + .name = "DMI", + .description = "A-bis Input Driver for Signalling", + .enabled = 0, .loglevel = LOGL_NOTICE, + }, + [INT2IDX(DMIB)] = { + .name = "DMIB", + .description = "A-bis Input Driver for B-Channels (voice)", + .enabled = 0, .loglevel = LOGL_NOTICE, + }, + [INT2IDX(DRSL)] = { + .name = "DRSL", + .description = "A-bis Radio Siganlling Link (RSL)", + .color = "\033[1;35m", + .enabled = 1, .loglevel = LOGL_NOTICE, + }, + [INT2IDX(DNM)] = { + .name = "DNM", + .description = "A-bis Network Management / O&M (NM/OML)", + .color = "\033[1;36m", + .enabled = 1, .loglevel = LOGL_INFO, + }, }; /* You have to keep this in sync with the structure loglevel_strs. */ |