SDL Wiki

Log Handling

Include File(s): SDL_log.h

Introduction

This category contains functions for handling simple log messages with categories and priorities.

<<Include(SDL_LogPriority, , , from="Start Include Default Priority", to="## End Include Default Priority")>>

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)

Messages longer than the maximum size (4096 bytes) will be truncated.

Enumerations

<<FullSearchCached(category:CategoryEnum CategoryLog -title:SGEnumerations)>>

Functions

<<FullSearchCached(category:CategoryLog -CategoryEnum -CategoryStruct -title:SGFunctions)>>


CategoryCategory


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.