sdlLogSetAllPriority function

void sdlLogSetAllPriority(
  1. int priority
)

Set the priority of all log categories.

\param priority the SDL_LogPriority to assign

\since This function is available since SDL 2.0.0.

\sa SDL_LogSetPriority

extern DECLSPEC void SDLCALL SDL_LogSetAllPriority(SDL_LogPriority priority)

Implementation

void sdlLogSetAllPriority(int priority) {
  final sdlLogSetAllPriorityLookupFunction = libSdl2.lookupFunction<
      Void Function(Int32 priority),
      void Function(int priority)>('SDL_LogSetAllPriority');
  return sdlLogSetAllPriorityLookupFunction(priority);
}