summaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/logging.h
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-07-06 16:57:15 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-08 10:39:45 +0000
commit15b6d4131c853937fa70ca8a2fa96bed4c5a22fa (patch)
tree7686134e2f2ec16417fb3795221c822eb7d563ba /include/osmocom/core/logging.h
parenteb55c0d4daff3e62c9282077379e4b596f312fd0 (diff)
Deprecate wrappers around loglevel_strs
Add deprecation notice for public API use: it shouldn't be used outside of libosmocore anyway. Change-Id: I792e30dc44f027fd94e1f65af19fe08bac52b95c Related: OS#71
Diffstat (limited to 'include/osmocom/core/logging.h')
-rw-r--r--include/osmocom/core/logging.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h
index 68a9c139..e058a576 100644
--- a/include/osmocom/core/logging.h
+++ b/include/osmocom/core/logging.h
@@ -306,8 +306,8 @@ void log_set_print_category(struct log_target *target, int);
void log_set_log_level(struct log_target *target, int log_level);
void log_parse_category_mask(struct log_target *target, const char* mask);
const char* log_category_name(int subsys);
-int log_parse_level(const char *lvl);
-const char *log_level_str(unsigned int lvl);
+int log_parse_level(const char *lvl) OSMO_DEPRECATED_OUTSIDE_LIBOSMOCORE;
+const char *log_level_str(unsigned int lvl) OSMO_DEPRECATED_OUTSIDE_LIBOSMOCORE;
int log_parse_category(const char *category);
void log_set_category_filter(struct log_target *target, int category,
int enable, int level);