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-03-28 08:06:41 +01:00
parent faccb3b2b4
commit 9bcadea172
30 changed files with 203 additions and 47 deletions

View File

@@ -51,7 +51,8 @@ static GOptionEntry main_entries[] = {
};
void
_mm_log (const char *loc,
_mm_log (gpointer obj,
const char *loc,
const char *func,
guint32 level,
const char *fmt,

View File

@@ -164,7 +164,8 @@ show_part_info (MMSmsPart *part)
}
void
_mm_log (const char *loc,
_mm_log (gpointer obj,
const char *loc,
const char *func,
guint32 level,
const char *fmt,

View File

@@ -84,7 +84,8 @@ signals_handler (int signum)
}
void
_mm_log (const char *loc,
_mm_log (gpointer obj,
const char *loc,
const char *func,
guint32 level,
const char *fmt,