Jz_log.h
777 字节
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef _JZ_LOG_H
#define _JZ_LOG_H
/* Includes ------------------------------------------------------------------*/
#ifdef __cplusplus
extern "C" {
#endif
/* Exported constants --------------------------------------------------------*/
#define JZ_LOG_INFO(format, ...) JzLogInfo( __func__, __LINE__, format, ##__VA_ARGS__)
#define JZ_LOG_ERROR(format, ...) JzLogError( __func__, __LINE__, format, ##__VA_ARGS__)
/* Exported types ------------------------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
void JzLogInfo(const char *func, int line,const char *format, ...);
#ifdef __cplusplus
}
#endif
#endif /* _JZ_LOG_H */