log: removed unused logging wrappers
Removed GLib logging wrappers which are not used anymore.
This commit is contained in:
parent
91be85a307
commit
6517126204
@ -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)
|
||||
|
||||
#undef log_func
|
||||
|
@ -22,11 +22,7 @@
|
||||
#include <glib.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 WARNING(const char *fmt, ...);
|
||||
G_GNUC_PRINTF(1, 2) G_GNUC_NORETURN void FATAL(const char *fmt, ...);
|
||||
|
||||
void log_init(bool verbose, bool use_stdout);
|
||||
|
Loading…
Reference in New Issue
Block a user