[MERGED] libosmocore[master]: core/logging.h: Add logging category for jitter buffer

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Feb 27 21:11:29 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: core/logging.h: Add logging category for jitter buffer
......................................................................


core/logging.h: Add logging category for jitter buffer

Forthcoming jitter buffer code in libosmo-netif will make use of it.

Change-Id: I2434f9dfa401f736bc62a2ddce920e587cd8c517
---
M include/osmocom/core/logging.h
M src/logging.c
2 files changed, 7 insertions(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h
index 617d78e..e68f618 100644
--- a/include/osmocom/core/logging.h
+++ b/include/osmocom/core/logging.h
@@ -121,7 +121,8 @@
 #define DLSUA		-15	/*!< Osmocom SUA */
 #define DLM3UA		-16	/*!< Osmocom M3UA */
 #define DLMGCP		-17	/*!< Osmocom MGCP */
-#define OSMO_NUM_DLIB	17	/*!< Number of logging sub-systems in libraries */
+#define DLJIBUF		-18	/*!< Osmocom Jitter Buffer */
+#define OSMO_NUM_DLIB	18	/*!< Number of logging sub-systems in libraries */
 
 /*! Configuration of single log category / sub-system */
 struct log_category {
diff --git a/src/logging.c b/src/logging.c
index 66074ea..147b1fb 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -168,6 +168,11 @@
 		.description = "libosmo-mgcp Media Gateway Control Protocol",
 		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
+	[INT2IDX(DLJIBUF)] = {
+		.name = "DLJIBUF",
+		.description = "libosmo-netif Jitter Buffer",
+		.enabled = 1, .loglevel = LOGL_NOTICE,
+	},
 };
 
 /*! descriptive string for each log level */

-- 
To view, visit https://gerrit.osmocom.org/6969
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2434f9dfa401f736bc62a2ddce920e587cd8c517
Gerrit-PatchSet: 3
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list