[PATCH] libosmocore[master]: logging.h: fixup: add API doc for logging enums recently added

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Feb 23 17:12:43 UTC 2017


Review at  https://gerrit.osmocom.org/1877

logging.h: fixup: add API doc for logging enums recently added

Change-Id: Ic459b04219abe70171c8f80ed09df53d412dcfb2
---
M include/osmocom/core/logging.h
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/77/1877/1

diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h
index 7c8a7ef..c4d8006 100644
--- a/include/osmocom/core/logging.h
+++ b/include/osmocom/core/logging.h
@@ -124,6 +124,8 @@
 	void *ctx[LOG_MAX_CTX+1];
 };
 
+/*! \brief Indexes to indicate the object currently acted upon.
+ * Array indexes for the global \a log_context array. */
 enum logging_ctx_items {
 	LOGGING_CTX_GB_NSVC,
 	LOGGING_CTX_GB_BVC,
@@ -132,6 +134,9 @@
 	_LOGGING_CTX_COUNT
 };
 
+/*! \brief Indexes to indicate objects that should be logged.
+ * Array indexes to log_target->filter_data and bit indexes for
+ * log_target->filter_map. */
 enum logging_filters {
 	LOGGING_FILTER_ALL,
 	LOGGING_FILTER_GB_NSVC,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic459b04219abe70171c8f80ed09df53d412dcfb2
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>


More information about the gerrit-log mailing list