void nopoll_log_set_handler ( noPollCtx ctx,
noPollLogHandler  handler,
noPollPtr  user_data 
)

Allows to define a log handler that will receive all logs produced under the provided content.

Parameters
ctxThe context that is going to be configured.
handlerThe handler to be called for each log to be notified. Passing in NULL is allowed to remove any previously configured handler.
user_dataUser defined pointer to be passed in into the handler configured along with the log notified.

References nopoll_return_if_fail.