ParsecSetLogCallback
voidParsecSetLogCallback(ParsecLogCallbackcallback,const 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
Direction | Name | Description |
---|---|---|
in | callback | Fired when a new log message is available from the Parsec SDK. |
in | opaque | User supplied context to be passed through callback . |