diff options
author | Harald Welte (local) <laflocal@hanuman.gnumonks.org> | 2009-12-27 21:02:20 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-12-28 13:42:55 +0100 |
commit | 66169152f6c4458cf7380d6e447fa74e5ae66654 (patch) | |
tree | e578f1736c6ba3284c4f7bb63f583d84ec443be5 /openbsc/include | |
parent | 7b37d9710d119675f374f10a780a8d93440c29d8 (diff) |
vty: replace'logging level' numeric value with human readable string
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/debug.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |