SDL Wiki

Log Handling

Include File(s): SDL_log.h

Introduction

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.

Enumerations

Functions



[ 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.