log: use GLib message logging

The logging functions from log.h are deprecated, and the code should
use GLib logging instead.  Make ERROR(), WARNING() etc. call g_logv()
internally.
This commit is contained in:
Max Kellermann
2008-11-05 18:38:30 +01:00
parent a05fa5cdbb
commit a5348a3786
2 changed files with 15 additions and 24 deletions
-4
View File
@@ -21,10 +21,6 @@
#include "gcc.h"
#define LOG_LEVEL_LOW 0
#define LOG_LEVEL_SECURE 1
#define LOG_LEVEL_DEBUG 2
mpd_printf void ERROR(const char *fmt, ...);
mpd_printf void LOG(const char *fmt, ...);
mpd_printf void SECURE(const char *fmt, ...);