add printf to logger w/o callbacks w/ WOLFSSL_LOG_PRINTF

pull/181/head
toddouska 2015-11-09 14:55:09 -08:00
parent 417f85da86
commit 906be9fb20
1 changed files with 2 additions and 0 deletions

View File

@ -119,6 +119,8 @@ static void wolfssl_log(const int logLevel, const char *const logMessage)
fflush(stdout) ;
printf("%s\n", logMessage);
fflush(stdout) ;
#elif defined(WOLFSSL_LOG_PRINTF)
printf("%s\n", logMessage);
#else
fprintf(stderr, "%s\n", logMessage);
#endif