Grammar Logging Callback Function

typedef void (*GrammarLogCB)(const char* message, int error_level, void* user_data)

The callback function is called by the LVGrammar object when an error or warning is generated during the grammar compilation process.  The types of errors which can be passed through the callback via the error_level parameter are:

user_data is a pointer to a user-defined class or function which can customize behavior when the LVGrammar object sends logging messages through the callback.

See Also


Complete Help Topic List | Speech Engine Product Information