From 66169152f6c4458cf7380d6e447fa74e5ae66654 Mon Sep 17 00:00:00 2001 From: "Harald Welte (local)" Date: Sun, 27 Dec 2009 21:02:20 +0100 Subject: vty: replace'logging level' numeric value with human readable string --- openbsc/include/openbsc/debug.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbsc/include/openbsc/debug.h') diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h index f9c4afdbc..c40eec3fb 100644 --- a/openbsc/include/openbsc/debug.h +++ b/openbsc/include/openbsc/debug.h @@ -118,6 +118,8 @@ void debug_set_use_color(struct debug_target *target, int); void debug_set_print_timestamp(struct debug_target *target, int); void debug_set_log_level(struct debug_target *target, int log_level); void debug_parse_category_mask(struct debug_target *target, const char* mask); +int debug_parse_level(const char *lvl); +int debug_parse_category(const char *category); void debug_set_category_filter(struct debug_target *target, int category, int enable, int level); -- cgit v1.2.3