Skip to content

Instantly share code, notes, and snippets.

@cnlohr
Created August 11, 2022 00:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cnlohr/bc1d083011cce565074c21822fbbffa9 to your computer and use it in GitHub Desktop.
Save cnlohr/bc1d083011cce565074c21822fbbffa9 to your computer and use it in GitHub Desktop.
Make SDL Apps Emit Verbose Logging for Debugging Purposes
void SDL_LogVerbose()
{
// You can C&P theis code into yours before main.
SDL_LogSetPriority(SDL_LOG_CATEGORY_ERROR, SDL_LOG_PRIORITY_DEBUG);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment