aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-04-04 15:44:34 +0200
committerAleksander Morgado <aleksander@aleksander.es>2020-04-08 16:35:09 +0200
commit77080d5f26681aed9e43c9bdaba58139f291d591 (patch)
treea087e90b1f51bafe3847e4de4b16a3a84ed951ea
parentb3e56bc576a36a4aaa5675c4c650c49388afc250 (diff)
fibocom: port to use object logging
-rw-r--r--plugins/fibocom/mm-plugin-fibocom.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/fibocom/mm-plugin-fibocom.c b/plugins/fibocom/mm-plugin-fibocom.c
index d41dc6ae..8447ab60 100644
--- a/plugins/fibocom/mm-plugin-fibocom.c
+++ b/plugins/fibocom/mm-plugin-fibocom.c
@@ -19,7 +19,7 @@
#define _LIBMM_INSIDE_MM
#include <libmm-glib.h>
-#include "mm-log.h"
+#include "mm-log-object.h"
#include "mm-plugin-fibocom.h"
#include "mm-broadband-modem.h"
#include "mm-broadband-modem-xmm.h"
@@ -48,14 +48,14 @@ create_modem (MMPlugin *self,
#if defined WITH_MBIM
if (mm_port_probe_list_has_mbim_port (probes)) {
if (mm_port_probe_list_is_xmm (probes)) {
- mm_dbg ("MBIM-powered XMM-based Fibocom modem found...");
+ mm_obj_dbg (self, "MBIM-powered XMM-based Fibocom modem found...");
return MM_BASE_MODEM (mm_broadband_modem_mbim_xmm_new (uid,
drivers,
mm_plugin_get_name (self),
vendor,
product));
}
- mm_dbg ("MBIM-powered Fibocom modem found...");
+ mm_obj_dbg (self, "MBIM-powered Fibocom modem found...");
return MM_BASE_MODEM (mm_broadband_modem_mbim_new (uid,
drivers,
mm_plugin_get_name (self),
@@ -65,7 +65,7 @@ create_modem (MMPlugin *self,
#endif
if (mm_port_probe_list_is_xmm (probes)) {
- mm_dbg ("XMM-based Fibocom modem found...");
+ mm_obj_dbg (self, "XMM-based Fibocom modem found...");
return MM_BASE_MODEM (mm_broadband_modem_xmm_new (uid,
drivers,
mm_plugin_get_name (self),
@@ -73,7 +73,7 @@ create_modem (MMPlugin *self,
product));
}
- mm_dbg ("Fibocom modem found...");
+ mm_obj_dbg (self, "Fibocom modem found...");
return MM_BASE_MODEM (mm_broadband_modem_new (uid,
drivers,
mm_plugin_get_name (self),