From 060814daa83f6a94f5934464ae42a406c5c7e947 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 27 Sep 2013 22:31:24 +0200 Subject: Log: new logging library API Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. --- src/UpdateRemove.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/UpdateRemove.cxx') diff --git a/src/UpdateRemove.cxx b/src/UpdateRemove.cxx index f9f6994b0..d43ad92c7 100644 --- a/src/UpdateRemove.cxx +++ b/src/UpdateRemove.cxx @@ -19,14 +19,15 @@ #include "config.h" /* must be first for large file support */ #include "UpdateRemove.hxx" +#include "UpdateDomain.hxx" #include "Playlist.hxx" #include "GlobalEvents.hxx" #include "thread/Mutex.hxx" #include "thread/Cond.hxx" - #include "Song.hxx" #include "Main.hxx" #include "Instance.hxx" +#include "Log.hxx" #ifdef ENABLE_SQLITE #include "StickerDatabase.hxx" @@ -54,7 +55,7 @@ song_remove_event(void) assert(removed_song != NULL); uri = removed_song->GetURI(); - g_message("removing %s", uri); + FormatInfo(update_domain, "removing %s", uri); g_free(uri); #ifdef ENABLE_SQLITE -- cgit v1.2.3