Renamed SDL_LogGetOutputFunction() and SDL_LogSetOutputFunction() to match SDL 3.0 naming convention

This commit is contained in:
Sam Lantinga 2024-03-17 09:50:28 -07:00
parent d8a54cd4f8
commit d65ae710a1
10 changed files with 41 additions and 17 deletions

View file

@ -454,7 +454,7 @@ extern "C" {
* "1" - Log most events (other than the really spammy ones).
* "2" - Include mouse and finger motion events.
*
* This is generally meant to be used to debug SDL itself, but can be useful for application developers that need better visibility into what is going on in the event queue. Logged events are sent through SDL_Log(), which means by default they appear on stdout on most platforms or maybe OutputDebugString() on Windows, and can be funneled by the app with SDL_LogSetOutputFunction(), etc.
* This is generally meant to be used to debug SDL itself, but can be useful for application developers that need better visibility into what is going on in the event queue. Logged events are sent through SDL_Log(), which means by default they appear on stdout on most platforms or maybe OutputDebugString() on Windows, and can be funneled by the app with SDL_SetLogOutputFunction(), etc.
*
* This hint can be set anytime.
*/