sdlSetLogPriorities function

void sdlSetLogPriorities(
  1. int priority
)

Set the priority of all log categories.

\param priority the SDL_LogPriority to assign.

\threadsafety It is safe to call this function from any thread.

\since This function is available since SDL 3.1.3.

\sa SDL_ResetLogPriorities \sa SDL_SetLogPriority

extern SDL_DECLSPEC void SDLCALL SDL_SetLogPriorities(SDL_LogPriority priority)

Implementation

void sdlSetLogPriorities(int priority) {
  final sdlSetLogPrioritiesLookupFunction = libSdl3.lookupFunction<
      Void Function(Int32 priority),
      void Function(int priority)>('SDL_SetLogPriorities');
  return sdlSetLogPrioritiesLookupFunction(priority);
}