Motion_EC_Stm32_archived/Middlewares/Log/log.h

22 lines
285 B
C

/*
* log.h
*
* Created on: Dec 16, 2020
* Author: bookshiyi
*/
#ifndef LOG_LOG_H_
#define LOG_LOG_H_
#include <stdarg.h>
typedef enum {
debug = 0,
info = 1,
warning = 2,
error = 3
}LogLevel_t;
void Log(LogLevel_t loglevel,char *format, ...);
#endif /* LOG_LOG_H_ */