Add log.c with info() and warn()

This commit is contained in:
Johan Malm 2020-08-12 19:37:44 +01:00
parent 5ea1527558
commit 2a17df0f8b
11 changed files with 68 additions and 17 deletions

14
include/common/log.h Normal file
View file

@ -0,0 +1,14 @@
#ifndef __LABWC_LOG_H
#define __LABWC_LOG_H
/**
* info - print info message
*/
void info(const char *msg, ...);
/**
* warn - print warning
*/
void warn(const char *err, ...);
#endif /* __LABWC_LOG_H */