ft8_lib/debug.h
2018-11-02 09:55:54 +02:00

12 lines
197 B
C

#pragma once
#include <stdio.h>
#define LOG_INFO 0
#define LOG_WARN 1
#define LOG_ERROR 2
#define LOG_FATAL 3
#define LOG(level, ...) if (level >= LOG_LEVEL) printf(__VA_ARGS__)