- Installation
- Administration
- Programmer's Guide
- Grammars
- MRCP Server
- FAQs
typedef void (*ExportLogMsg)(const char* log_msg, void* user_data_ptr)
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.
user_data_ptr is a pointer to a user-defined class or function which can customize behavior when the engine sends logging messages to the callback.