add the ability to print without adding a prefix for multi part/line prints

This commit is contained in:
Resaec
2018-09-25 23:43:52 +02:00
parent 1eb3d7969e
commit d2355cdc9b
4 changed files with 40 additions and 20 deletions

View File

@@ -27,7 +27,9 @@ typedef enum {
SCREEN_LOG_LEVEL_WARNING = 2,
SCREEN_LOG_LEVEL_MANDATORY = 3, /* no log prefix */
SCREEN_LOG_LEVEL_INFO = 4,
SCREEN_LOG_LEVEL_DEBUG = 5
SCREEN_LOG_LEVEL_DEBUG = 5,
SCREEN_LOG_LEVEL_NO_PREFIX = 0x100 /* OR this to your LOG_LEVEL to prevent prefix creation */
} ScreenLogLevel;
/* TODO: make this configurable by BCT.ini */