[PATCH] 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/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Tue Feb 27 19:00:57 UTC 2018


Hello Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/6969

to look at the new patch set (#2).

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(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/69/6969/2

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: newpatchset
Gerrit-Change-Id: I2434f9dfa401f736bc62a2ddce920e587cd8c517
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list