sdlSetLogPriorities function log

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.2.0.

\sa SDL_ResetLogPriorities \sa SDL_SetLogPriority

extern SDL_DECLSPEC void SDLCALL SDL_SetLogPriorities(SDL_LogPriority priority)

Implementation

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