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