Function SDL_LogWarn

pub unsafe extern "C" fn SDL_LogWarn(
    category: i32,
    fmt: *const i8,
    ...
)
Available on crate feature dep_sdl3 only.
Expand description

Log a message with SDL_LOG_PRIORITY_WARN.

§Parameters

  • category: the category 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