Registers a callback so the object can report warnings and errors to the grammar author via the callback function.
Function
- void LVGrammar_RegisterLoggingCallback (HGRAMMAR Grammar, GrammarLogCB log, void* userData)
Parameters
Grammar
A handle to the grammar object.
log
The logging callback function pointer.
userdata
The pointer to user defined data associated with the grammar object. It will be passed into the callback function.
Remarks
The call back function needs to have signature defined by GrammarLogCB.
See Also