addded ".log" ad the end of LOG_FORMATTING flag
I forgot, again
This commit is contained in:
parent
77ae6e1cf6
commit
2d233ea54e
@ -11,7 +11,7 @@ const enum RETURN_CODES //exit codes you fucking idiot (2#)
|
|||||||
#define WRITE_DIR "./logs"
|
#define WRITE_DIR "./logs"
|
||||||
|
|
||||||
#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_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 LOG_FORMATTING "%s/%04d-%02d-%02d_%03x.log" //SAME THING AS LOG_FORMAT, BUT USED IN sprintf IN logger.c, NOT AS LENGTH
|
||||||
|
|
||||||
#define WRITE_FORMAT "[hh:mm:ss] " //LOG MESSAGE'S PREFIX (THE SPACE AT THE END IS INTENTIONAL)
|
#define WRITE_FORMAT "[hh:mm:ss] " //LOG MESSAGE'S PREFIX (THE SPACE AT THE END IS INTENTIONAL)
|
||||||
#define WRITE_FORMATTING "[%02d:%02d:%02d]: %s" //guess what
|
#define WRITE_FORMATTING "[%02d:%02d:%02d]: %s" //guess what
|
||||||
|
Loading…
x
Reference in New Issue
Block a user