Updated Debugging (markdown)

Alex Abrahamson
2017-11-07 16:57:50 -07:00
parent d5ebcc5d6a
commit 7af64f33ad

@@ -1,3 +1,8 @@
## Sections in chapter 8:
[8.1 - Debugging and Logging](#81-debugging-and-logging)
[8.2 - Error Codes](#82-error codes)
# 8.1 Debugging and Logging # 8.1 Debugging and Logging
wolfSSL (formerly CyaSSL) has support for debugging through log messages in environments where debugging is limited. To turn logging on use the function _wolfSSL\_Debugging\_ON()_ and to turn it off use _wolfSSL\_Debugging\_OFF()_. In a normal build (release mode) these functions will have no effect. In a debug build, define **DEBUG\_WOLFSSL** to ensure these functions are turned on. wolfSSL (formerly CyaSSL) has support for debugging through log messages in environments where debugging is limited. To turn logging on use the function _wolfSSL\_Debugging\_ON()_ and to turn it off use _wolfSSL\_Debugging\_OFF()_. In a normal build (release mode) these functions will have no effect. In a debug build, define **DEBUG\_WOLFSSL** to ensure these functions are turned on.