|
Size: 1224
Comment: minor change
|
Size: 1220
Comment: minor change to formatting, cached searchs
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 20: | Line 20: |
| `SDL_LogSetAllPriority(SDL_LOG_PRIORITY_WARN);` | {{{SDL_LogSetAllPriority(SDL_LOG_PRIORITY_WARN);}}} |
| Line 23: | Line 23: |
| .Windows: debug output stream .Android: log output .Others: standard error output (stderr) <<Color2(green,Table instead?)>> |
||Windows||debug output stream|| ||Android||log output|| ||Others||standard error output (stderr)|| |
| Line 32: | Line 31: |
| <<FullSearch(category:CategoryEnum CategoryLog -SGEnumerations)>> | <<FullSearchCached(category:CategoryEnum CategoryLog -SGEnumerations)>> |
| Line 36: | Line 35: |
| ##<<FullSearch(category:CategoryStruct CategoryLog -SGStructures)>> | ##<<FullSearchCached(category:CategoryStruct CategoryLog -SGStructures)>> |
| Line 39: | Line 38: |
| <<FullSearch(category:CategoryLog -CategoryEnum -CategoryStruct -SGFunctions)>> | <<FullSearchCached(category:CategoryLog -CategoryEnum -CategoryStruct -SGFunctions)>> |
DRAFT |
Log Handling
Include File(s): SDL_log.h
Contents
Introduction
This category contains functions for handling simple log messages with categories and priorities.
By default logs are quiet, but if you're debugging SDL you might want:
SDL_LogSetAllPriority(SDL_LOG_PRIORITY_WARN);
Here's where the messages go on different platforms:
Windows
debug output stream
Android
log output
Others
standard error output (stderr)
Messages longer than the maximum size (4096 bytes) will be truncated.
Enumerations
