log: new object logging support

So that we can provide the specific object id in every log associated
to a given object.
This commit is contained in:
Aleksander Morgado
2020-04-08 16:35:08 +02:00
parent faccb3b2b4
commit 9bcadea172
30 changed files with 203 additions and 47 deletions
+2 -1
View File
@@ -65,7 +65,8 @@ at_serial_echo_removal (void)
}
void
_mm_log (const char *loc,
_mm_log (gpointer obj,
const char *loc,
const char *func,
guint32 level,
const char *fmt,
+2 -1
View File
@@ -409,7 +409,8 @@ test_charset_can_covert_to (void)
}
void
_mm_log (const char *loc,
_mm_log (gpointer obj,
const char *loc,
const char *func,
guint32 level,
const char *fmt,
+2 -1
View File
@@ -53,7 +53,8 @@ TEST_ERROR_HELPER (MESSAGE_ERROR, message_error, MessageError)
/*****************************************************************************/
void
_mm_log (const char *loc,
_mm_log (gpointer obj,
const char *loc,
const char *func,
guint32 level,
const char *fmt,
+2 -1
View File
@@ -310,7 +310,8 @@ test_gobi3k_cdma (void)
/*****************************************************************************/
void
_mm_log (const char *loc,
_mm_log (gpointer obj,
const char *loc,
const char *func,
guint32 level,
const char *fmt,
+2 -1
View File
@@ -4502,7 +4502,8 @@ test_bcd_to_string (void *f, gpointer d)
/*****************************************************************************/
void
_mm_log (const char *loc,
_mm_log (gpointer obj,
const char *loc,
const char *func,
guint32 level,
const char *fmt,
+2 -1
View File
@@ -438,7 +438,8 @@ test_pty_cleanup (TestData *d)
}
void
_mm_log (const char *loc,
_mm_log (gpointer obj,
const char *loc,
const char *func,
guint32 level,
const char *fmt,
+2 -1
View File
@@ -841,7 +841,8 @@ test_text_split_two_pdu_ucs2 (void)
/************************************************************/
void
_mm_log (const char *loc,
_mm_log (gpointer obj,
const char *loc,
const char *func,
guint32 level,
const char *fmt,
+2 -1
View File
@@ -505,7 +505,8 @@ test_create_pdu_text_unicode_encoding (void)
/************************************************************/
void
_mm_log (const char *loc,
_mm_log (gpointer obj,
const char *loc,
const char *func,
guint32 level,
const char *fmt,
+2 -1
View File
@@ -44,7 +44,8 @@ test_load_cleanup_core (void)
/************************************************************/
void
_mm_log (const char *loc,
_mm_log (gpointer obj,
const char *loc,
const char *func,
guint32 level,
const char *fmt,