logger CHANGE rename ly_verb_dbg() to ly_log_dbg_groups()
Align the function with the ly_log_level() (recently renamed ly_verb())
and its purpose.
diff --git a/src/log.c b/src/log.c
index dd456d3..4ce8d1e 100644
--- a/src/log.c
+++ b/src/log.c
@@ -36,7 +36,7 @@
static ly_log_clb log_clb;
static volatile ly_bool path_flag = 1;
#ifndef NDEBUG
-volatile uint32_t ly_log_dbg_groups = 0;
+volatile uint32_t ly_ldbg_groups = 0;
#endif
/* how many bytes add when enlarging buffers */
@@ -211,10 +211,10 @@
}
API void
-ly_verb_dbg(uint32_t dbg_groups)
+ly_log_dbg_groups(uint32_t dbg_groups)
{
#ifndef NDEBUG
- ly_log_dbg_groups = dbg_groups;
+ ly_ldbg_groups = dbg_groups;
#else
(void)dbg_groups;
#endif
@@ -365,7 +365,7 @@
const char *str_group;
va_list ap;
- if (!(ly_log_dbg_groups & group)) {
+ if (!(ly_ldbg_groups & group)) {
return;
}