Displaying 1 result from an estimated 1 matches for "swrap_log_debug".
2017 Mar 02
1
How to print the log in socket_wrapper.c
Hi folks
I want to print the log in socket_wrapper.c to have a better view of the read or write socket behavior.
I find that there are four debug levels:
SWRAP_LOG_ERROR
SWRAP_LOG_WARN
SWRAP_LOG_DEBUG
SWRAP_LOG_TRACE
So:
Where and How to set those debug levels?
Where can I find the log?
Or:
Are there any other ways to print the log?(I directly added the “printf” code, but it did not not work -_-!)
Best regards
Thanks
----------------------------------------------------...