SDL_LogMessage

Function SDL_LogMessage 

Source
pub unsafe extern "C" fn SDL_LogMessage(
    category: c_int,
    priority: SDL_LogPriority,
    fmt: *const c_char,
    ...
)
Expand description

Log a message with the specified category and priority.

§Parameters

  • category: the category of the message.
  • priority: the priority of the message.
  • fmt: a printf() style message format string.
  • ...: additional parameters matching % tokens in the fmt string, if any.

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.

§See also