log-helpers: add helper to log simple connect properties
This commit is contained in:
@@ -30,6 +30,21 @@ common_log_print_array (gpointer log_object,
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
mm_log_simple_connect_properties (gpointer log_object,
|
||||
MMLogLevel level,
|
||||
const gchar *prefix,
|
||||
MMSimpleConnectProperties *value)
|
||||
{
|
||||
g_autoptr(GPtrArray) print_array = NULL;
|
||||
|
||||
if (!mm_log_check_level_enabled (level))
|
||||
return;
|
||||
|
||||
print_array = mm_simple_connect_properties_print (value, mm_log_get_show_personal_info ());
|
||||
common_log_print_array (log_object, level, prefix, print_array);
|
||||
}
|
||||
|
||||
void
|
||||
mm_log_bearer_properties (gpointer log_object,
|
||||
MMLogLevel level,
|
||||
|
@@ -22,13 +22,17 @@
|
||||
|
||||
#include "mm-log.h"
|
||||
|
||||
void mm_log_bearer_properties (gpointer log_object,
|
||||
MMLogLevel level,
|
||||
const gchar *prefix,
|
||||
MMBearerProperties *value);
|
||||
void mm_log_3gpp_profile (gpointer log_object,
|
||||
MMLogLevel level,
|
||||
const gchar *prefix,
|
||||
MM3gppProfile *value);
|
||||
void mm_log_simple_connect_properties (gpointer log_object,
|
||||
MMLogLevel level,
|
||||
const gchar *prefix,
|
||||
MMSimpleConnectProperties *value);
|
||||
void mm_log_bearer_properties (gpointer log_object,
|
||||
MMLogLevel level,
|
||||
const gchar *prefix,
|
||||
MMBearerProperties *value);
|
||||
void mm_log_3gpp_profile (gpointer log_object,
|
||||
MMLogLevel level,
|
||||
const gchar *prefix,
|
||||
MM3gppProfile *value);
|
||||
|
||||
#endif /* MM_LOG_HELPERS_H */
|
||||
|
Reference in New Issue
Block a user