This function registers a logging callback that will be used to handle the wolfSSL log message. By default, if the system supports it fprintf() to stderr is used but by using this function anything can be done by the user.
int ret = 0;
void MyLoggingCallback(const int logLevel, const char* const logMessage);
if (ret != 0) {
}
void MyLoggingCallback(const int logLevel, const char* const logMessage)
{
}
int wolfSSL_SetLoggingCb(wolfSSL_Logging_cb log_function)
This function registers a logging callback that will be used to handle the wolfSSL log message....