| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
SDL3.Sys.Bindgen.LogShims.Safe
Synopsis
- lithon_SDL_Log :: PtrConst CChar -> IO ()
- lithon_SDL_LogTrace :: CInt -> PtrConst CChar -> IO ()
- lithon_SDL_LogVerbose :: CInt -> PtrConst CChar -> IO ()
- lithon_SDL_LogDebug :: CInt -> PtrConst CChar -> IO ()
- lithon_SDL_LogInfo :: CInt -> PtrConst CChar -> IO ()
- lithon_SDL_LogWarn :: CInt -> PtrConst CChar -> IO ()
- lithon_SDL_LogError :: CInt -> PtrConst CChar -> IO ()
- lithon_SDL_LogCritical :: CInt -> PtrConst CChar -> IO ()
- lithon_SDL_LogMessage :: CInt -> SDL_LogPriority -> PtrConst CChar -> IO ()
Documentation
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 atsdl3-bindgen-sys/SDL_log_shims.h 39:24
Since: 3.2.0
Arguments
| :: CInt |
|
| -> PtrConst CChar |
|
| -> 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 atsdl3-bindgen-sys/SDL_log_shims.h 60:24
Since: 3.2.0
lithon_SDL_LogVerbose Source #
Arguments
| :: CInt |
|
| -> PtrConst CChar |
|
| -> 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 atsdl3-bindgen-sys/SDL_log_shims.h 81:24
Since: 3.2.0
Arguments
| :: CInt |
|
| -> PtrConst CChar |
|
| -> 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 atsdl3-bindgen-sys/SDL_log_shims.h 102:24
Since: 3.2.0
Arguments
| :: CInt |
|
| -> PtrConst CChar |
|
| -> 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 atsdl3-bindgen-sys/SDL_log_shims.h 123:24
Since: 3.2.0
Arguments
| :: CInt |
|
| -> PtrConst CChar |
|
| -> 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 atsdl3-bindgen-sys/SDL_log_shims.h 144:24
Since: 3.2.0
Arguments
| :: CInt |
|
| -> PtrConst CChar |
|
| -> 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 atsdl3-bindgen-sys/SDL_log_shims.h 165:24
Since: 3.2.0
lithon_SDL_LogCritical Source #
Arguments
| :: CInt |
|
| -> PtrConst CChar |
|
| -> 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 atsdl3-bindgen-sys/SDL_log_shims.h 186:24
Since: 3.2.0
lithon_SDL_LogMessage Source #
Arguments
| :: CInt |
|
| -> SDL_LogPriority |
|
| -> PtrConst CChar |
|
| -> 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 atsdl3-bindgen-sys/SDL_log_shims.h 209:24
Since: 3.2.0