Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2011-09-17 19:08:33
Size: 1095
Editor: SheenaSmith
Comment: create page - 9/17
Revision 2 as of 2011-11-14 05:08:09
Size: 1228
Editor: SheenaSmith
Comment: add search exclusions for SG pages
Deletions are marked like this. Additions are marked like this.
Line 31: Line 31:
== Enumerations ==
<<FullSearch(category:CategoryEnum CategoryLog -SGEnumerations)>>
Line 32: Line 34:
== Enumerations ==
<<FullSearch(category:CategoryEnum CategoryLog)>>

##Remove this line and the ## below to use this markup if it becomes relevant to this category
Line 37: Line 36:
##<<FullSearch(category:CategoryStruct CategoryLog)>>
##<<FullSearch(category:CategoryStruct CategoryLog -SGStructures)>>
Line 41: Line 39:
<<FullSearch(category:CategoryLog -CategoryEnum -CategoryStruct)>> <<FullSearch(category:CategoryLog -CategoryEnum -CategoryStruct -SGFunctions)>>

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

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