The callback function is called by the speech port library with informational and error messages. It is set up in a call to LV_SRE_CreateClient or LVSpeechPort::CreateClient for port-level logging; and in a call to LV_SRE_RegisterAppLogMsg or LVSpeechPort::RegisterAppLogMsg for application-level logging.
Parameters
log_msgA logging message sent by the engine, usually containing additional error information.
user_data_ptrA pointer to a user-defined class or function which can customize behavior when the engine sends logging messages to the callback.
See Also