29 #define _CRT_SECURE_NO_WARNINGS 58 const char *fmt =
"%x %X";
62 local = localtime(©);
63 strftime(buffer,
sizeof(buffer), fmt, local);
char * SDLTest_TimestampToString(const time_t timestamp)
#define SDLTEST_MAX_LOGMESSAGE_LENGTH
void SDLTest_LogError(SDL_PRINTF_FORMAT_STRING const char *fmt,...)
Prints given message with a timestamp in the TEST category and the ERROR priority.
void SDLTest_Log(SDL_PRINTF_FORMAT_STRING const char *fmt,...)
Prints given message with a timestamp in the TEST category and INFO priority.
#define SDL_PRINTF_FORMAT_STRING