SinricPro Library
SinricProDebug.h
1 /*
2  * Copyright (c) 2019 Sinric. All rights reserved.
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
4  *
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
6  */
7 
8 #ifndef __SINRICPRODEBUG_H__
9 #define __SINRICPRODEBUG_H__
10 
11 #ifndef NODEBUG_SINRIC
12 #ifdef DEBUG_ESP_PORT
13 #define DEBUG_SINRIC(...) DEBUG_ESP_PORT.printf( __VA_ARGS__ )
14 #else
15 //#define DEBUG_WEBSOCKETS(...) os_printf( __VA_ARGS__ )
16 #endif
17 #endif
18 
19 
20 #ifndef DEBUG_SINRIC
21 #define DEBUG_SINRIC(...)
22 #define NODEBUG_SINRIC
23 #endif
24 
25 
26 #endif