socket.io-client-cpp icon indicating copy to clipboard operation
socket.io-client-cpp copied to clipboard

How to print socket.IO logs?

Open aniket2408 opened this issue 3 years ago • 1 comments

Hello,

Can someone tell how to print socket.IO logs? Are verbose logs present? If yes how to activate them?

Thanks in advance for the help.

aniket2408 avatar Mar 02 '22 07:03 aniket2408

Hi, if you compile the project in debug mode it should print the logs. With CMake you can do it by passing the -DCMAKE_BUILD_TYPE=Debug when configuring the project. Otherwise make sure that DEBUG is defined in the preprocessor.

jmigual avatar Mar 02 '22 20:03 jmigual