summaryrefslogtreecommitdiff
path: root/src/logging/logging.c
blob: 4f717cb162aa9cc1114b49c2498d6e8e24e7ef35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdio.h>
#include "logging/logging.h"

int _honey_log_level = HONEY_WARN;

void honey_log(int level, const char *fmt, ...) {
	//if (level > _honey_log_level) return;

	va_list args;
	va_start(args, fmt);
	vfprintf(stderr, fmt, args);
	va_end(args);
}