William Brawner
b88fba9644
This code is absolutely horrendous in its current state, with poor error handling (where it's even present) and memory leaks galore. USE AT YOUR OWN RISK. I certainly won't be publishing it anywhere or speaking of it until it's in a much better state.
10 lines
202 B
C
10 lines
202 B
C
#ifndef PIHELPER_LOG
|
|
#define PIHELPER_LOG
|
|
|
|
static int LOG_ERROR = 0;
|
|
static int LOG_WARN = 1;
|
|
static int LOG_INFO = 2;
|
|
static int LOG_DEBUG = 3;
|
|
|
|
void write_log(int level, char * format, ...);
|
|
#endif
|