When changing the log level, show the new severity string rather than
its numerical representation.
print_in_bar(COLOR_ERRMSG, "top of buffer is shown\n");
}
print_in_bar(COLOR_ERRMSG, "top of buffer is shown\n");
}
+static void print_ll_msg(void)
+{
+ const char *sev[] = {SEVERITIES};
+ print_in_bar(COLOR_MSG, "new loglevel: %s\n", sev[loglevel]);
+}
+
static void com_ll_decr(void)
{
if (loglevel <= LL_DEBUG) {
static void com_ll_decr(void)
{
if (loglevel <= LL_DEBUG) {
- print_in_bar(COLOR_MSG, "loglevel set to %d\n", loglevel);
}
static void com_ll_incr(void)
}
static void com_ll_incr(void)
- print_in_bar(COLOR_MSG, "loglevel set to %d\n", loglevel);
}
static void com_reread_conf(void)
}
static void com_reread_conf(void)