lms: Apply LMS->OSMO log level conversion

Change-Id: I3a8fbcc7cacebc7038c60175a8ae43b21f713cbb
This commit is contained in:
Pau Espin Pedrol
2018-11-23 14:39:51 +01:00
parent 32b3c2e4b2
commit 1e2c0105e2

View File

@@ -71,7 +71,7 @@ static void lms_log_callback(int lvl, const char *msg)
if ((unsigned int) lvl >= ARRAY_SIZE(lvl_map))
lvl = ARRAY_SIZE(lvl_map)-1;
LOGLV(DLMS, lvl) << msg;
LOGLV(DLMS, lvl_map[lvl]) << msg;
}
static void thread_enable_cancel(bool cancel)