aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-02-23 17:45:26 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-02-23 17:53:23 +0100
commit492e1808b0adede71be81cf0ad9d112dc39255a5 (patch)
treefc9d2ecbb9369065d8c492a0687afd52a8332f1d
parent0d6420b302d6638501b88460e77d33e4b1631286 (diff)
logging.h: fixup: add API doc for logging enums recently added
-rw-r--r--include/osmocom/core/logging.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h
index 7c8a7ef5..c4d80065 100644
--- a/include/osmocom/core/logging.h
+++ b/include/osmocom/core/logging.h
@@ -124,6 +124,8 @@ struct log_context {
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 @@ enum logging_ctx_items {
_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,