aboutsummaryrefslogtreecommitdiffstats
path: root/libosmocore/include/osmocore
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-11 16:41:55 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-11 16:41:55 +0200
commite9359db5803baef9a66bb007a0fa719c2d2bb475 (patch)
tree22d8bd4fa70086b75df9c6e40b5f2134307978e7 /libosmocore/include/osmocore
parent6f65696459cbdc3c6fb0bbcda22881deed2d4d8a (diff)
parent7638af95fd08213aef4adb3c6399975fe3621855 (diff)
Merge commit '7638af95fd08213aef4adb3c6399975fe3621855'
Diffstat (limited to 'libosmocore/include/osmocore')
-rw-r--r--libosmocore/include/osmocore/logging.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libosmocore/include/osmocore/logging.h b/libosmocore/include/osmocore/logging.h
index 93f18a07b..2e82959a8 100644
--- a/libosmocore/include/osmocore/logging.h
+++ b/libosmocore/include/osmocore/logging.h
@@ -117,6 +117,7 @@ void log_set_print_timestamp(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);
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);
@@ -127,4 +128,8 @@ struct log_target *log_target_create_stderr(void);
void log_add_target(struct log_target *target);
void log_del_target(struct log_target *target);
+/* Gernerate command argument strings for VTY use */
+const char *log_vty_category_string(struct log_info *info);
+const char *log_vty_level_string(struct log_info *info);
+
#endif /* _OSMOCORE_LOGGING_H */