sdl3-bindgen-sys
Safe HaskellNone
LanguageGHC2021

SDL3.Sys.Bindgen.LogShims.Safe

Synopsis

Documentation

lithon_SDL_Log Source #

Arguments

:: PtrConst CChar
message
the message to log, in UTF-8.
-> IO () 

Log a message with SDL_LOG_CATEGORY_APPLICATION and SDL_LOG_PRIORITY_INFO.

A fixed-arity shim over the variadic SDL_Log: message is logged verbatim. It is never parsed as a printf-style format string, so a percent sign in it needs no escaping.

Thread safety
It is safe to call this function from any thread.
See also
SDL_LogMessage
C declaration
lithon_SDL_Log, defined at sdl3-bindgen-sys/SDL_log_shims.h 39:24

Since: 3.2.0

lithon_SDL_LogTrace Source #

Arguments

:: CInt
category
the category of the message.
-> PtrConst CChar
message
the message to log, in UTF-8.
-> IO () 

Log a message with SDL_LOG_PRIORITY_TRACE.

A fixed-arity shim over the variadic SDL_LogTrace: message is logged verbatim. It is never parsed as a printf-style format string, so a percent sign in it needs no escaping.

Thread safety
It is safe to call this function from any thread.
See also
SDL_LogMessage
C declaration
lithon_SDL_LogTrace, defined at sdl3-bindgen-sys/SDL_log_shims.h 60:24

Since: 3.2.0

lithon_SDL_LogVerbose Source #

Arguments

:: CInt
category
the category of the message.
-> PtrConst CChar
message
the message to log, in UTF-8.
-> IO () 

Log a message with SDL_LOG_PRIORITY_VERBOSE.

A fixed-arity shim over the variadic SDL_LogVerbose: message is logged verbatim. It is never parsed as a printf-style format string, so a percent sign in it needs no escaping.

Thread safety
It is safe to call this function from any thread.
See also
SDL_LogMessage
C declaration
lithon_SDL_LogVerbose, defined at sdl3-bindgen-sys/SDL_log_shims.h 81:24

Since: 3.2.0

lithon_SDL_LogDebug Source #

Arguments

:: CInt
category
the category of the message.
-> PtrConst CChar
message
the message to log, in UTF-8.
-> IO () 

Log a message with SDL_LOG_PRIORITY_DEBUG.

A fixed-arity shim over the variadic SDL_LogDebug: message is logged verbatim. It is never parsed as a printf-style format string, so a percent sign in it needs no escaping.

Thread safety
It is safe to call this function from any thread.
See also
SDL_LogMessage
C declaration
lithon_SDL_LogDebug, defined at sdl3-bindgen-sys/SDL_log_shims.h 102:24

Since: 3.2.0

lithon_SDL_LogInfo Source #

Arguments

:: CInt
category
the category of the message.
-> PtrConst CChar
message
the message to log, in UTF-8.
-> IO () 

Log a message with SDL_LOG_PRIORITY_INFO.

A fixed-arity shim over the variadic SDL_LogInfo: message is logged verbatim. It is never parsed as a printf-style format string, so a percent sign in it needs no escaping.

Thread safety
It is safe to call this function from any thread.
See also
SDL_LogMessage
C declaration
lithon_SDL_LogInfo, defined at sdl3-bindgen-sys/SDL_log_shims.h 123:24

Since: 3.2.0

lithon_SDL_LogWarn Source #

Arguments

:: CInt
category
the category of the message.
-> PtrConst CChar
message
the message to log, in UTF-8.
-> IO () 

Log a message with SDL_LOG_PRIORITY_WARN.

A fixed-arity shim over the variadic SDL_LogWarn: message is logged verbatim. It is never parsed as a printf-style format string, so a percent sign in it needs no escaping.

Thread safety
It is safe to call this function from any thread.
See also
SDL_LogMessage
C declaration
lithon_SDL_LogWarn, defined at sdl3-bindgen-sys/SDL_log_shims.h 144:24

Since: 3.2.0

lithon_SDL_LogError Source #

Arguments

:: CInt
category
the category of the message.
-> PtrConst CChar
message
the message to log, in UTF-8.
-> IO () 

Log a message with SDL_LOG_PRIORITY_ERROR.

A fixed-arity shim over the variadic SDL_LogError: message is logged verbatim. It is never parsed as a printf-style format string, so a percent sign in it needs no escaping.

Thread safety
It is safe to call this function from any thread.
See also
SDL_LogMessage
C declaration
lithon_SDL_LogError, defined at sdl3-bindgen-sys/SDL_log_shims.h 165:24

Since: 3.2.0

lithon_SDL_LogCritical Source #

Arguments

:: CInt
category
the category of the message.
-> PtrConst CChar
message
the message to log, in UTF-8.
-> IO () 

Log a message with SDL_LOG_PRIORITY_CRITICAL.

A fixed-arity shim over the variadic SDL_LogCritical: message is logged verbatim. It is never parsed as a printf-style format string, so a percent sign in it needs no escaping.

Thread safety
It is safe to call this function from any thread.
See also
SDL_LogMessage
C declaration
lithon_SDL_LogCritical, defined at sdl3-bindgen-sys/SDL_log_shims.h 186:24

Since: 3.2.0

lithon_SDL_LogMessage Source #

Arguments

:: CInt
category
the category of the message.
-> SDL_LogPriority
priority
the priority of the message.
-> PtrConst CChar
message
the message to log, in UTF-8.
-> IO () 

Log a message with the specified category and priority.

A fixed-arity shim over the variadic SDL_LogMessage: message is logged verbatim. It is never parsed as a printf-style format string, so a percent sign in it needs no escaping.

Thread safety
It is safe to call this function from any thread.
See also
SDL_SetLogOutputFunction, SDL_SetLogPriority
C declaration
lithon_SDL_LogMessage, defined at sdl3-bindgen-sys/SDL_log_shims.h 209:24

Since: 3.2.0