23 lines
		
	
	
		
			299 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			299 B
		
	
	
	
		
			C
		
	
	
	
	
	
| 
 | |
| #ifndef iotelic_log_H
 | |
| #define iotelic_log_H
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| extern "C" {
 | |
| #endif
 | |
| 
 | |
| #if defined(DEBUG_PRINTF)
 | |
|     #define LOG(Format, ...) \
 | |
|         iot_printf(Format, ##__VA_ARGS__); \
 | |
|         iot_printf("\n")
 | |
| #else
 | |
|     #define LOG()
 | |
| #endif
 | |
| 
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| }
 | |
| #endif
 | |
| 
 | |
| #endif // iotelic_log_H
 |