created WRITE_FORMATTING flag

and guess what is it for :)
This commit is contained in:
Václav Šmejkal 2022-11-22 18:44:02 +01:00
parent 90935724fc
commit 0940ac28cb
No known key found for this signature in database
GPG Key ID: FD749A97DF2D5E19

View File

@ -11,6 +11,7 @@ const enum RETURN_CODES //exit codes you fucking idiot (2#)
#define LOG_FORMATTING "%s/%04d-%02d-%02d_%03x" //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_FORMATTING "[%d02:%d02:%d02] %s" //guess what
#define MAX_USAGE 0xfff //LOOK AT LOG_FORMAT