mirror of https://gerrit.osmocom.org/libosmocore
Vadim Yanitskiy
4b46b7eb53
The library specific sub-systems are kind of special, because their position in the 'osmo_log_info' may vary depending on the number of application specific sub-systems. This is why their associated constant values (like DLGLOBAL) are negative, and this is what the LOGP() macro expects as the first argument. Before this change, invoking 'logp' command with any library specific logging sub-system would result in getting messages printed with the fall-back DLGLOBAL sub-systems. Change-Id: If86563e169fe1243adfa7b09c9d65d9f88c8a99e |
||
---|---|---|
.. | ||
logging_test.c | ||
logging_test.err | ||
logging_test.ok | ||
logging_vty_test.c | ||
logging_vty_test.vty |