SDL 2.0
SDL_test_log.h File Reference
#include "begin_code.h"
#include "close_code.h"
+ Include dependency graph for SDL_test_log.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void SDLTest_Log (SDL_PRINTF_FORMAT_STRING const char *fmt,...) SDL_PRINTF_VARARG_FUNC(1)
 Prints given message with a timestamp in the TEST category and INFO priority.
 
void SDLTest_LogError (SDL_PRINTF_FORMAT_STRING const char *fmt,...) SDL_PRINTF_VARARG_FUNC(1)
 Prints given message with a timestamp in the TEST category and the ERROR priority.
 

Detailed Description

Include file for SDL test framework.

This code is a part of the SDL2_test library, not the main SDL library.

Definition in file SDL_test_log.h.

Function Documentation

◆ SDLTest_Log()

void SDLTest_Log ( SDL_PRINTF_FORMAT_STRING const char *  fmt,
  ... 
)

Prints given message with a timestamp in the TEST category and INFO priority.

Parameters
fmtMessage to be logged

◆ SDLTest_LogError()

void SDLTest_LogError ( SDL_PRINTF_FORMAT_STRING const char *  fmt,
  ... 
)

Prints given message with a timestamp in the TEST category and the ERROR priority.

Parameters
fmtMessage to be logged