Does SDL2 output logging information?

I know that the libsdl2 has logging functionality for game developers, but does the library itself also log its warnings and info messages somewhere?
After a quick check of the source code, it does not seem as if libsdl would use its own logging functionality.

No it doesn’t.
You will have to manually query sdl for errors and then log them .

Use SDL_GetError() to query for errors

1 Like

Try using SDL_LogSetAllPriority(SDL_LOG_PRIORITY_VERBOSE);