Skip to content

Commit 6308d09

Browse files
authored
core: fix logging macro not used in sio_socket.cpp (#401)
1 parent 75e0589 commit 6308d09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sio_socket.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <cstdarg>
99
#include <functional>
1010

11-
#if DEBUG || _DEBUG
11+
#if (DEBUG || _DEBUG) && !defined(SIO_DISABLE_LOGGING)
1212
#define LOG(x) std::cout << x
1313
#else
1414
#define LOG(x)

0 commit comments

Comments
 (0)