SDL 3.0
|
Go to the source code of this file.
Functions | |
void | SDLTest_Log (SDL_PRINTF_FORMAT_STRING const char *fmt,...) SDL_PRINTF_VARARG_FUNC(1) |
void | SDLTest_LogEscapedString (const char *prefix, const void *buffer, size_t size) |
void | SDLTest_LogError (SDL_PRINTF_FORMAT_STRING const char *fmt,...) SDL_PRINTF_VARARG_FUNC(1) |
Logging related functions of SDL test framework.
This code is a part of the SDL test library, not the main SDL library.
Definition in file SDL_test_log.h.
void SDLTest_Log | ( | SDL_PRINTF_FORMAT_STRING const char * | fmt, |
... | |||
) |
Prints given message with a timestamp in the TEST category and INFO priority.
fmt | Message to be logged |
void SDLTest_LogError | ( | SDL_PRINTF_FORMAT_STRING const char * | fmt, |
... | |||
) |
Prints given message with a timestamp in the TEST category and the ERROR priority.
fmt | Message to be logged |
void SDLTest_LogEscapedString | ( | const char * | prefix, |
const void * | buffer, | ||
size_t | size | ||
) |
Prints given prefix and buffer. Non-printible characters in the raw data are substituted by printible alternatives.
prefix | Prefix message. |
buffer | Raw data to be escaped. |
size | Number of bytes in buffer. |