Update logger to use format

This commit is contained in:
2022-12-29 11:09:45 +01:00
parent 5c72a0cb60
commit f9b3cc29ab
8 changed files with 57 additions and 32 deletions

View File

@ -29,9 +29,9 @@ typedef unsigned char log_lvl_t;
void logmsgf(log_lvl_t level, const char *restrict format, ...);
void logger_set_name(const char *restrict name);
void logger_set_name(const char *restrict format, ...);
void logger_set_prefix(const char *restrict prefix);
void logger_set_prefix(const char *restrict format, ...);
int logger_init(void);