| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
SDL3.Sys.Bindgen.LogShims.FunPtr
Synopsis
- lithon_SDL_Log :: FunPtr (PtrConst CChar -> IO ())
- lithon_SDL_LogTrace :: FunPtr (CInt -> PtrConst CChar -> IO ())
- lithon_SDL_LogVerbose :: FunPtr (CInt -> PtrConst CChar -> IO ())
- lithon_SDL_LogDebug :: FunPtr (CInt -> PtrConst CChar -> IO ())
- lithon_SDL_LogInfo :: FunPtr (CInt -> PtrConst CChar -> IO ())
- lithon_SDL_LogWarn :: FunPtr (CInt -> PtrConst CChar -> IO ())
- lithon_SDL_LogError :: FunPtr (CInt -> PtrConst CChar -> IO ())
- lithon_SDL_LogCritical :: FunPtr (CInt -> PtrConst CChar -> IO ())
- lithon_SDL_LogMessage :: FunPtr (CInt -> SDL_LogPriority -> PtrConst CChar -> IO ())
Documentation
lithon_SDL_Log :: FunPtr (PtrConst CChar -> IO ()) Source #
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.
message- the message to log, in UTF-8.
- Thread safety
- It is safe to call this function from any thread.
- See also
- SDL_LogMessage
- C declaration
lithon_SDL_Log, defined atsdl3-bindgen-sys/SDL_log_shims.h 39:24
Since: 3.2.0
lithon_SDL_LogTrace :: FunPtr (CInt -> PtrConst CChar -> IO ()) Source #
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.
category- the category of the message.
message- the message to log, in UTF-8.
- Thread safety
- It is safe to call this function from any thread.
- See also
- SDL_LogMessage
- C declaration
lithon_SDL_LogTrace, defined atsdl3-bindgen-sys/SDL_log_shims.h 60:24
Since: 3.2.0
lithon_SDL_LogVerbose :: FunPtr (CInt -> PtrConst CChar -> IO ()) Source #
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.
category- the category of the message.
message- the message to log, in UTF-8.
- Thread safety
- It is safe to call this function from any thread.
- See also
- SDL_LogMessage
- C declaration
lithon_SDL_LogVerbose, defined atsdl3-bindgen-sys/SDL_log_shims.h 81:24
Since: 3.2.0
lithon_SDL_LogDebug :: FunPtr (CInt -> PtrConst CChar -> IO ()) Source #
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.
category- the category of the message.
message- the message to log, in UTF-8.
- Thread safety
- It is safe to call this function from any thread.
- See also
- SDL_LogMessage
- C declaration
lithon_SDL_LogDebug, defined atsdl3-bindgen-sys/SDL_log_shims.h 102:24
Since: 3.2.0
lithon_SDL_LogInfo :: FunPtr (CInt -> PtrConst CChar -> IO ()) Source #
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.
category- the category of the message.
message- the message to log, in UTF-8.
- Thread safety
- It is safe to call this function from any thread.
- See also
- SDL_LogMessage
- C declaration
lithon_SDL_LogInfo, defined atsdl3-bindgen-sys/SDL_log_shims.h 123:24
Since: 3.2.0
lithon_SDL_LogWarn :: FunPtr (CInt -> PtrConst CChar -> IO ()) Source #
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.
category- the category of the message.
message- the message to log, in UTF-8.
- Thread safety
- It is safe to call this function from any thread.
- See also
- SDL_LogMessage
- C declaration
lithon_SDL_LogWarn, defined atsdl3-bindgen-sys/SDL_log_shims.h 144:24
Since: 3.2.0
lithon_SDL_LogError :: FunPtr (CInt -> PtrConst CChar -> IO ()) Source #
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.
category- the category of the message.
message- the message to log, in UTF-8.
- Thread safety
- It is safe to call this function from any thread.
- See also
- SDL_LogMessage
- C declaration
lithon_SDL_LogError, defined atsdl3-bindgen-sys/SDL_log_shims.h 165:24
Since: 3.2.0
lithon_SDL_LogCritical :: FunPtr (CInt -> PtrConst CChar -> IO ()) Source #
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.
category- the category of the message.
message- the message to log, in UTF-8.
- Thread safety
- It is safe to call this function from any thread.
- See also
- SDL_LogMessage
- C declaration
lithon_SDL_LogCritical, defined atsdl3-bindgen-sys/SDL_log_shims.h 186:24
Since: 3.2.0
lithon_SDL_LogMessage :: FunPtr (CInt -> SDL_LogPriority -> PtrConst CChar -> IO ()) Source #
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.
category- the category of the message.
priority- the priority of the message.
message- the message to log, in UTF-8.
- Thread safety
- It is safe to call this function from any thread.
- See also
- SDL_SetLogOutputFunction, SDL_SetLogPriority
- C declaration
lithon_SDL_LogMessage, defined atsdl3-bindgen-sys/SDL_log_shims.h 209:24
Since: 3.2.0