1
0
forked from fsfw/fsfw

minor improvements and docuemntation

This commit is contained in:
2021-01-03 01:47:01 +01:00
parent e300207f48
commit 717027792e
2 changed files with 18 additions and 12 deletions

View File

@ -14,7 +14,13 @@ enum class PrintLevel {
void setPrintLevel(PrintLevel printLevel);
PrintLevel getPrintLevel();
/**
* These functions can be used like the C stdio printf and forward the
* supplied formatted string arguments to a printf function.
* They prepend the string with a color (if enabled), a log preamble and
* a timestamp.
* @param fmt Formatted string
*/
void printInfo(const char *fmt, ...);
void printWarning(const char* fmt, ...);
void printDebug(const char* fmt, ...);