siso_log.h File Reference |
siso_log.h File Reference Function declarations for the user logging interface. More... #include <unistd.h> #include <pthread.h> Go to the source code of this file.
Detailed DescriptionFunction declarations for the user logging interface. Copyright (c) 2021 Basler AG, All Rights Reserved. Macro Definition Documentation◆ SISOLOG_ERROR_INTERNAL_ERROR
logging return value: ERROR - Internal error ◆ SISOLOG_ERROR_LIB_ALREADY_LOADED
logging return value: ERROR - Library already loaded ◆ SISOLOG_ERROR_LIB_NOT_LOADED
logging return value: ERROR - Library not loaded ◆ SISOLOG_ERROR_UNRESOLVED_SYMBOL
logging return value: ERROR - Unresolved symbol ◆ SISOLOG_LOGLEVEL_ERROR
logging level: ERROR ◆ SISOLOG_LOGLEVEL_FATAL
logging level: FATAL ◆ SISOLOG_LOGLEVEL_WARN
logging level: WARN ◆ SISOLOG_MODE_DEFAULT
logging mode: DEFAULT ◆ SISOLOG_MODE_OFF
logging mode: OFF ◆ SISOLOG_OK
logging return value: SUCCESS Typedef Documentation◆ FuncType_LogMsgCallback
Callback function definition for log events.
◆ tProcessId
typedef for process ids ◆ tSisoLog_Tag
structure for logging tags ◆ tThreadId
typedef for thread ids Function Documentation◆ SisoLog_FreeLibrary()
The function SisoLog_FreeLibrary() releases internal structures of the library. This function releases all internal structures that were initialized by a successful call Fg_InitLibraries().
◆ SisoLog_GetMode()
The function SisoLog_GetMode() returns the current mode for the library.
◆ SisoLog_InitLibrary()
The function SisoLog_InitLibrary() initializes internal structures of the library. This function initializes internal structures in the library and keeps them in memory until SisoLog_FreeLibrary() is called.
◆ SisoLog_RegisterLogMsgCallback()
Register the user callback for log events.
◆ SisoLog_SetMode()
The function SisoLog_SetMode() set the mode for the library. Allowed values are: SISOLOG_MODE_OFF and SISOLOG_MODE_DEFAULT.
|