Open lk534 opened 8 months ago
Update aefff9e
Written ANSI colored logger which outputs file name with FILE define and provides the following macros:
MBL_DBG MBL_INF MBL_WRN MBL_ERR MBL_TRM
The MBL_DBG macro will only print if MBL_DBG_ENABLE is set.
Next steps
include/logger.h
so uses of the macros can have their own formatting
It would be nice to have a proper logging system that reports where the errors are coming for and supports basic ANSI colors instead of just calling printf() directly when an error is found.