Wiki Page Content

Revision 2 as of 2011-11-14 05:08:09

Clear message

DRAFT

Log Handling

Include File(s): SDL_log.h

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)

    green

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

Enumerations

Functions


CategoryCategory

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit