typedef void(* noPollLogHandler)(noPollCtx *ctx, noPollDebugLevel level, const char *log_msg, noPollPtr user_data)

Handler used by nopoll_log_set_handler to receive all log notifications produced by the library on this function.

ctxThe context where the operation is happening.
levelThe log level
log_msgThe actual log message reported.
user_dataA reference to user defined pointer passed in into the function.