diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2022-08-05 14:40:24 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksandermj@chromium.org> | 2022-11-04 13:12:56 +0000 |
commit | b3f315ad2db5455156781f1cfc22ecfb46bc389e (patch) | |
tree | 45882a3b24f6b65108337f76256f4eed51b3c660 /tools | |
parent | 823f3e7995a27d89524f07aee46c8efad246fbc7 (diff) |
core,log: new 'MSG' log level between 'INFO' and 'WARN'
We're bumping the current "INFO" level messages to the new "MSG"
level, also making the new level the default.
The old "INFO" level will be used to setup an intermediate level of
logging which is not as verbose as "DEBUG" but still provides some
capabilities to analyze the behavior of a modem.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tests/test-stub.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/tests/test-stub.c b/tools/tests/test-stub.c index b88b2a34..fa702290 100644 --- a/tools/tests/test-stub.c +++ b/tools/tests/test-stub.c @@ -105,7 +105,7 @@ static void run_loop_for_ms (TestData *tdata, guint32 timeout) { - mm_info ("Run loop for %u ms", timeout); + mm_msg ("Run loop for %u ms", timeout); tdata->timeout_id = g_timeout_add (timeout, loop_timeout_cb, tdata); g_main_loop_run (tdata->loop); } @@ -117,7 +117,7 @@ stop_loop (TestData *tdata) g_source_remove (tdata->timeout_id); tdata->timeout_id = 0; } - mm_info ("Stop the loop"); + mm_msg ("Stop the loop"); g_main_loop_quit (tdata->loop); } @@ -133,7 +133,7 @@ add_modem_completion_cb (GObject *source_object, tdata = (TestData*)user_data; - mm_info ("AddModem DBus call completed"); + mm_msg ("AddModem DBus call completed"); dbus_return = g_dbus_proxy_call_finish (tdata->mm_proxy, res, &error); g_assert_no_error (error); g_assert_nonnull (dbus_return); @@ -189,7 +189,7 @@ emit_state_changed_completion_cb (GObject *source_object, tdata = (TestData*)user_data; - mm_info ("EmitStateChanged DBus call completed"); + mm_msg ("EmitStateChanged DBus call completed"); dbus_return = g_dbus_proxy_call_finish (tdata->mm_proxy, res, &error); g_assert_no_error (error); g_assert_nonnull (dbus_return); @@ -277,7 +277,7 @@ set_modem_unlock_completion_cb (GObject *source_object, tdata = (TestData*)user_data; - mm_info ("org.freedesktop.DBus.Properties.Set DBus call completed"); + mm_msg ("org.freedesktop.DBus.Properties.Set DBus call completed"); dbus_return = g_dbus_proxy_call_finish (tdata->mm_modem_prop_proxy, res, &error); g_assert_no_error (error); g_assert_nonnull (dbus_return); @@ -368,7 +368,7 @@ mm_sim_send_pin_completion_cb (GObject *source_object, tdata = (TestData*)user_data; - mm_info("SendPin DBus method call completed"); + mm_msg ("SendPin DBus method call completed"); ret = mm_sim_send_pin_finish (tdata->sim, res, &error); if (tdata->pin_error) { g_assert_nonnull (error); |