ParsecSetLogCallback

void
callback,
void *
opaque
)

Receive log messages accross all Parsec instances.

The callback is not thread safe and must use proper synchronization on the opaque context. This function may be called with NULL as both arguments to remove any previously set callback. This function takes effect globally and applies to all initialized Parsec instances.

Parameters

DirectionNameDescription
incallbackFired when a new log message is available from the Parsec SDK.
inopaqueUser supplied context to be passed through callback.