mbedtls_debug_set_threshold() function
Set the threshold error level to handle globally all debug output. Debug messages that have a level over the threshold value are discarded. (Default value: 0 = No debug )
Syntax
void mbedtls_debug_set_threshold( int threshold ); Arguments
threshold
theshold level of messages to filter on. Messages at a higher level will be discarded. - Debug levels - 0 No debug - 1 Error - 2 State change - 3 Informational - 4 Verbose