Go to the source code of this file.
Functions | |
SBG_COMMON_LIB_API uint32_t | sbgGetTime (void) |
SBG_COMMON_LIB_API void | sbgPlatformDebugLogMsg (const char *pFileName, const char *pFunctionName, uint32_t line, const char *pCategory, SbgDebugLogType logType, SbgErrorCode errorCode, const char *pFormat,...) |
SBG_COMMON_LIB_API void | sbgSleep (uint32_t ms) |
SBG_COMMON_LIB_API uint32_t sbgGetTime | ( | void | ) |
Returns the current time in ms.
Definition at line 24 of file sbgPlatform.c.
SBG_COMMON_LIB_API void sbgPlatformDebugLogMsg | ( | const char * | pFileName, |
const char * | pFunctionName, | ||
uint32_t | line, | ||
const char * | pCategory, | ||
SbgDebugLogType | logType, | ||
SbgErrorCode | errorCode, | ||
const char * | pFormat, | ||
... | |||
) |
The method is called when one of the SBG_LOG_ERROR, SBG_LOG_WARNING, SBG_LOG_INFO or SBG_LOG_VERBOSE is called. It logs an error message with debug information and support a variable list of arguments
[in] | pFileName | File name where the error occurred. |
[in] | pFunctionName | Function name where the error occurred. |
[in] | line | Line number where the error occurred. |
[in] | logType | Define if we have an error, a warning, an info or a verbose log. |
[in] | errorCode | The error code associated with the message. |
[in] | pFormat | The error message that will be used with the variable list of arguments. |
Definition at line 80 of file sbgPlatform.c.
SBG_COMMON_LIB_API void sbgSleep | ( | uint32_t | ms | ) |
Sleep for the specified number of ms.
[in] | ms | Number of millisecondes to wait. |
Definition at line 54 of file sbgPlatform.c.