core,log: include logging from the 'Qmi' log domain
Sync with libqmi: commit 2835a53732fdae32478dd954a9ee3fa8afd93cab Author: Aleksander Morgado <aleksander@lanedo.com> Date: Tue Oct 30 15:02:24 2012 +0100 libqmi-glib: define library G_LOG_DOMAIN
This commit is contained in:
@@ -236,6 +236,13 @@ mm_log_setup (const char *level,
|
|||||||
log_handler,
|
log_handler,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
|
#if defined WITH_QMI
|
||||||
|
g_log_set_handler ("Qmi",
|
||||||
|
G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL | G_LOG_FLAG_RECURSION,
|
||||||
|
log_handler,
|
||||||
|
NULL);
|
||||||
|
#endif
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user