Wiki Page Content

Differences between revisions 4 and 5
Revision 4 as of 2011-12-31 20:51:55
Size: 1220
Editor: SheenaSmith
Comment: minor change to formatting, cached searchs
Revision 5 as of 2012-01-03 23:14:24
Size: 1163
Editor: SheenaSmith
Comment: remove draft
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
||<tablewidth="100%" style="color: #FF0000;" :> 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)

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

Enumerations

Functions


CategoryCategory

None: CategoryLog (last edited 2016-03-27 21:44:54 by PhilippWiesemann)

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