diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-22 15:51:22 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-22 17:05:42 +0100 |
commit | 6a8b9c70fceba57f624c9c23c97cbb27389e4584 (patch) | |
tree | 54c6fbf7659318e6dcfbab978a3ea7c85d56421c /tests | |
parent | 34fd0c69a3beb97fd8315488fa384e5b7b090bca (diff) |
dissolve libcommon: drop debug.c
Apply more concise logging categories in each main scope. The bulk goes to
msc_main.c, obviously, while tests and utils get a slimmed down bunch of
logging categories.
Change-Id: I969a0662ba273f3721b6820d02151b7a5b8014b8
Diffstat (limited to 'tests')
-rw-r--r-- | tests/smpp/smpp_test.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/smpp/smpp_test.c b/tests/smpp/smpp_test.c index 5f5f2d642..4a3af495d 100644 --- a/tests/smpp/smpp_test.c +++ b/tests/smpp/smpp_test.c @@ -62,6 +62,19 @@ static void test_coding_scheme(void) } } +static const struct log_info_cat smpp_mirror_default_categories[] = { + [DSMPP] = { + .name = "DSMPP", + .description = "SMPP interface for external SMS apps", + .enabled = 1, .loglevel = LOGL_DEBUG, + }, +}; + +const struct log_info log_info = { + .cat = smpp_mirror_default_categories, + .num_cat = ARRAY_SIZE(smpp_mirror_default_categories), +}; + int main(int argc, char **argv) { osmo_init_logging(&log_info); |