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/encoder/TwolameEncoderPlugin.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/encoder/TwolameEncoderPlugin.cxx') diff --git a/src/encoder/TwolameEncoderPlugin.cxx b/src/encoder/TwolameEncoderPlugin.cxx index 7931ef413..6862173f7 100644 --- a/src/encoder/TwolameEncoderPlugin.cxx +++ b/src/encoder/TwolameEncoderPlugin.cxx @@ -24,6 +24,7 @@ #include "ConfigError.hxx" #include "util/Error.hxx" #include "util/Domain.hxx" +#include "Log.hxx" #include @@ -109,7 +110,8 @@ TwolameEncoder::Configure(const config_param ¶m, Error &error) static Encoder * twolame_encoder_init(const config_param ¶m, Error &error_r) { - g_debug("libtwolame version %s", get_twolame_version()); + FormatDebug(twolame_encoder_domain, + "libtwolame version %s", get_twolame_version()); TwolameEncoder *encoder = new TwolameEncoder(); -- cgit v1.2.3