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
diff --git a/tests/smpp/smpp_test.c b/tests/smpp/smpp_test.c
index 5f5f2d6..4a3af49 100644
--- a/tests/smpp/smpp_test.c
+++ b/tests/smpp/smpp_test.c
@@ -62,6 +62,19 @@
}
}
+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);