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/PlaylistControl.cxx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/PlaylistControl.cxx') diff --git a/src/PlaylistControl.cxx b/src/PlaylistControl.cxx index f0cf05121..c6b5690bb 100644 --- a/src/PlaylistControl.cxx +++ b/src/PlaylistControl.cxx @@ -24,13 +24,10 @@ #include "config.h" #include "Playlist.hxx" +#include "PlaylistError.hxx" #include "PlayerControl.hxx" #include "Song.hxx" - -#include - -#undef G_LOG_DOMAIN -#define G_LOG_DOMAIN "playlist" +#include "Log.hxx" void playlist::Stop(player_control &pc) @@ -40,7 +37,7 @@ playlist::Stop(player_control &pc) assert(current >= 0); - g_debug("stop"); + FormatDebug(playlist_domain, "stop"); pc.Stop(); queued = -1; playing = false; -- cgit v1.2.3