Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit 9fa27e3

Browse files
committed
Merge commit '98a277519c2bba977f11d9c0a4358f972b76ca5e' into develop. close #116.
# By René Rössler # Via René Rössler * commit '98a277519c2bba977f11d9c0a4358f972b76ca5e': Debugging should only happen if it is build for debugging (DEBUG is defined if compiled by XCODE for debugging/not release)
2 parents 386111f + 98a2775 commit 9fa27e3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

SocketIO.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,13 @@
2828
#import "SocketIOTransportWebsocket.h"
2929
#import "SocketIOTransportXHR.h"
3030

31+
#ifdef DEBUG
3132
#define DEBUG_LOGS 1
3233
#define DEBUG_CERTIFICATE 1
34+
#else
35+
#define DEBUG_LOGS 0
36+
#define DEBUG_CERTIFICATE 0
37+
#endif
3338

3439
#if DEBUG_LOGS
3540
#define DEBUGLOG(...) NSLog(__VA_ARGS__)

0 commit comments

Comments
 (0)