logging: introuduce log_level_str() to obtain the name of a log level
diff --git a/include/osmocore/logging.h b/include/osmocore/logging.h
index 93f18a0..b9e0c8f 100644
--- a/include/osmocore/logging.h
+++ b/include/osmocore/logging.h
@@ -117,6 +117,7 @@
void log_set_log_level(struct log_target *target, int log_level);
void log_parse_category_mask(struct log_target *target, const char* mask);
int log_parse_level(const char *lvl);
+const char *log_level_str(unsigned int lvl);
int log_parse_category(const char *category);
void log_set_category_filter(struct log_target *target, int category,
int enable, int level);