log: rename back to wp_log_set_level

This commit is contained in:
Pauli Virtanen
2024-01-02 17:23:23 +02:00
committed by George Kiagiadakis
parent 82df32b0b0
commit d8a345a30c
4 changed files with 6 additions and 6 deletions

View File

@@ -300,7 +300,7 @@ wp_core_constructed (GObject *object)
p = (struct pw_properties *) pw_context_get_properties (self->pw_context);
if (!g_getenv("WIREPLUMBER_DEBUG") &&
(str = pw_properties_get(p, "log.level")) != NULL) {
if (!wp_log_set_global_level (str))
if (!wp_log_set_level (str))
wp_warning ("ignoring invalid log.level in config file: %s", str);
}