Defines callbacks required for logging. More...
#include <gltoolsapi.h>
Public Member Functions | |
virtual void | OnLogV (const plain_char *fmt, va_list ap)=0 |
Format a string and write to the log file. | |
virtual void | OnAssert (const plain_char *szMessage)=0 |
Indicate a critical error in the application which requires abort. |
Defines callbacks required for logging.
virtual void gltools::GlToolsLogCallbacks::OnAssert | ( | const plain_char * | szMessage | ) | [pure virtual] |
Indicate a critical error in the application which requires abort.
Execution cannot continue after this and the GLL should be re-instantiated. There must be no return from this callback
virtual void gltools::GlToolsLogCallbacks::OnLogV | ( | const plain_char * | fmt, |
va_list | ap | ||
) | [pure virtual] |
Format a string and write to the log file.
fmt | Standard printf()-style formatting string |
ap | Variable argument list. |