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