Original Post
void Bug(char *str, ...)
{
va_list args;
fprintf(gLog, "***BUG***: ");
va_start(args, str);
vfprintf(gLog, str, args);
va_end(args);
fputs("\r\n", gLog);
}
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more