created LOG_FORMATTING flag
I said I will make it more variable
This commit is contained in:
parent
e9d8a78148
commit
be343bd1bb
@ -8,6 +8,7 @@ const enum RETURN_CODES //exit codes you fucking idiot (2#)
|
||||
};
|
||||
|
||||
#define LOG_FORMAT "yyyy-mm-dd_xxx.log" //THE LAST xxx IS FOR BASE-16 NUMBER OF USAGE THAT DAY (SO MAX IS 4095 [FFF] USAGES PER DAY)
|
||||
#define LOG_FORMATTING "%s/%04d-%02d-%02d_%03x" //SAME THING AS LOG_FORMAT, BUT USED IN sprintf IN logger.c, NOT AS LENGTH
|
||||
#define MAX_USAGE 0xfff //LOOK AT LOG_FORMAT
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user