Commit 65171262 authored by Max Kellermann's avatar Max Kellermann

log: removed unused logging wrappers

Removed GLib logging wrappers which are not used anymore.
parent 91be85a3
...@@ -282,10 +282,6 @@ G_GNUC_PRINTF(1, 2) void func(const char *fmt, ...) \ ...@@ -282,10 +282,6 @@ G_GNUC_PRINTF(1, 2) void func(const char *fmt, ...) \
} \ } \
} }
log_func(ERROR, G_LOG_LEVEL_WARNING)
log_func(WARNING, G_LOG_LEVEL_WARNING)
log_func(LOG, G_LOG_LEVEL_MESSAGE)
log_func(SECURE, LOG_LEVEL_SECURE)
log_func(DEBUG, G_LOG_LEVEL_DEBUG) log_func(DEBUG, G_LOG_LEVEL_DEBUG)
#undef log_func #undef log_func
......
...@@ -22,11 +22,7 @@ ...@@ -22,11 +22,7 @@
#include <glib.h> #include <glib.h>
#include <stdbool.h> #include <stdbool.h>
G_GNUC_PRINTF(1, 2) void ERROR(const char *fmt, ...);
G_GNUC_PRINTF(1, 2) void LOG(const char *fmt, ...);
G_GNUC_PRINTF(1, 2) void SECURE(const char *fmt, ...);
G_GNUC_PRINTF(1, 2) void DEBUG(const char *fmt, ...); G_GNUC_PRINTF(1, 2) void DEBUG(const char *fmt, ...);
G_GNUC_PRINTF(1, 2) void WARNING(const char *fmt, ...);
G_GNUC_PRINTF(1, 2) G_GNUC_NORETURN void FATAL(const char *fmt, ...); G_GNUC_PRINTF(1, 2) G_GNUC_NORETURN void FATAL(const char *fmt, ...);
void log_init(bool verbose, bool use_stdout); void log_init(bool verbose, bool use_stdout);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment