# CategoryLog

Simple log messages with categories and priorities.

By default logs are quiet, but if you're debugging SDL you might want:

[SDL_LogSetAllPriority](SDL_LogSetAllPriority)([SDL_LOG_PRIORITY_WARN](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)

<!-- END CATEGORY DOCUMENTATION -->

## Functions

<!-- DO NOT HAND-EDIT CATEGORY LISTS, THEY ARE AUTOGENERATED AND WILL BE OVERWRITTEN, BASED ON TAGS IN INDIVIDUAL PAGE FOOTERS. EDIT THOSE INSTEAD. -->
<!-- BEGIN CATEGORY LIST: CategoryLog, CategoryAPIFunction -->
- [SDL_Log](SDL_Log)
- [SDL_LogCritical](SDL_LogCritical)
- [SDL_LogDebug](SDL_LogDebug)
- [SDL_LogError](SDL_LogError)
- [SDL_LogGetOutputFunction](SDL_LogGetOutputFunction)
- [SDL_LogGetPriority](SDL_LogGetPriority)
- [SDL_LogInfo](SDL_LogInfo)
- [SDL_LogMessage](SDL_LogMessage)
- [SDL_LogMessageV](SDL_LogMessageV)
- [SDL_LogResetPriorities](SDL_LogResetPriorities)
- [SDL_LogSetAllPriority](SDL_LogSetAllPriority)
- [SDL_LogSetOutputFunction](SDL_LogSetOutputFunction)
- [SDL_LogSetPriority](SDL_LogSetPriority)
- [SDL_LogVerbose](SDL_LogVerbose)
- [SDL_LogWarn](SDL_LogWarn)
<!-- END CATEGORY LIST -->

## Datatypes

<!-- DO NOT HAND-EDIT CATEGORY LISTS, THEY ARE AUTOGENERATED AND WILL BE OVERWRITTEN, BASED ON TAGS IN INDIVIDUAL PAGE FOOTERS. EDIT THOSE INSTEAD. -->
<!-- BEGIN CATEGORY LIST: CategoryLog, CategoryAPIDatatype -->
- [SDL_LogOutputFunction](SDL_LogOutputFunction)
<!-- END CATEGORY LIST -->

## Structs

<!-- DO NOT HAND-EDIT CATEGORY LISTS, THEY ARE AUTOGENERATED AND WILL BE OVERWRITTEN, BASED ON TAGS IN INDIVIDUAL PAGE FOOTERS. EDIT THOSE INSTEAD. -->
<!-- BEGIN CATEGORY LIST: CategoryLog, CategoryAPIStruct -->
- (none.)
<!-- END CATEGORY LIST -->

## Enums

<!-- DO NOT HAND-EDIT CATEGORY LISTS, THEY ARE AUTOGENERATED AND WILL BE OVERWRITTEN, BASED ON TAGS IN INDIVIDUAL PAGE FOOTERS. EDIT THOSE INSTEAD. -->
<!-- BEGIN CATEGORY LIST: CategoryLog, CategoryAPIEnum -->
- [SDL_LogCategory](SDL_LogCategory)
- [SDL_LogPriority](SDL_LogPriority)
<!-- END CATEGORY LIST -->

## Macros

<!-- DO NOT HAND-EDIT CATEGORY LISTS, THEY ARE AUTOGENERATED AND WILL BE OVERWRITTEN, BASED ON TAGS IN INDIVIDUAL PAGE FOOTERS. EDIT THOSE INSTEAD. -->
<!-- BEGIN CATEGORY LIST: CategoryLog, CategoryAPIMacro -->
- [SDL_MAX_LOG_MESSAGE](SDL_MAX_LOG_MESSAGE)
<!-- END CATEGORY LIST -->

