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
EGLContext EGLenum EGLClientBuffer buffer
DECLSPEC void *SDLCALL SDL_memset(void *dst, int c, size_t len)
void SDLTest_Log(const char *fmt,...)
Prints given message with a timestamp in the TEST category and INFO priority.
DECLSPEC void SDLCALL SDL_LogMessage(int category, SDL_LogPriority priority, const char *fmt,...)
Log a message with the specified category and priority.
DECLSPEC int SDLCALL SDL_vsnprintf(char *text, size_t maxlen, const char *fmt, va_list ap)
void SDLTest_LogError(const char *fmt,...)
Prints given message with a timestamp in the TEST category and the ERROR priority.