Include File(s): SDL_log.h
This category contains functions for handling simple log messages with categories and priorities.
If you're debugging SDL you might want to call:
SDL_LogSetAllPriority(SDL_LOG_PRIORITY_VERBOSE);
Here's where the messages go on different platforms:
Windows |
debug output stream |
Android |
log output |
PSP |
"SDL_Log.txt" |
Others |
standard error output (stderr) |
On SDL versions prior to 2.0.24, messages longer than the maximum size (4096 bytes) will be truncated.