1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2024-06-20 05:29:32 +00:00
rk65c02/src/log.h

16 lines
363 B
C
Raw Normal View History

2018-03-21 15:22:29 +00:00
#include <stdint.h>
#define LOG_TRACE 5
#define LOG_DEBUG 4
#define LOG_INFO 3
#define LOG_WARN 4
2018-03-21 15:22:29 +00:00
#define LOG_ERROR 2
#define LOG_CRIT 1
#define LOG_NOTHING 0 /* At 0 nothing will get logged, can be set as
current level, but not when creating new log
messages. */
void rk65c02_loglevel_set(uint8_t);
void rk65c02_log(uint8_t, const char *, ...);
2018-03-21 15:22:29 +00:00