aboutsummaryrefslogtreecommitdiffstats
path: root/src/log.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-05 18:38:30 +0100
committerMax Kellermann <max@duempel.org>2008-11-05 18:38:30 +0100
commita5348a3786f5d7c708019c2e853085de7f26f260 (patch)
tree45d64b407c21114adc68abfae639a2cc33231ece /src/log.h
parenta05fa5cdbb672171814abae8f99ee78003936af2 (diff)
downloadmpd-a5348a3786f5d7c708019c2e853085de7f26f260.tar.gz
mpd-a5348a3786f5d7c708019c2e853085de7f26f260.tar.xz
mpd-a5348a3786f5d7c708019c2e853085de7f26f260.zip
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.
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/log.h b/src/log.h
index c32b8e9c0..275754554 100644
--- a/src/log.h
+++ b/src/log.h
@@ -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, ...);