summaryrefslogtreecommitdiffstats
path: root/src/fe-fuzz/null-logger.c
blob: dd88b84ae429da99df2591da019e7e0bcdebdd9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <irssi/src/fe-fuzz/null-logger.h>

#include <glib.h>

static void null_logger(const gchar *log_domain,
			GLogLevelFlags log_level,
			const gchar *message,
			gpointer user_data)
{
	return;
}

void g_log_set_null_logger(void)
{
	g_log_set_default_handler(null_logger, NULL);
}