The logging abstraction layer between Interaction Library and its client. More...
Classes | |
struct | IL_Logger |
A structure with information about a callback function that will be called by the Interaction Library for logging purposes. More... | |
Typedefs | |
typedef void(* | IL_Logger_Callback) (IL_LoggingLevel level, const char *text, void *context) |
Prototype of the callback function that Interaction Library calls when a log entry is available. More... | |
The logging abstraction layer between Interaction Library and its client.
struct IL_Logger |
A structure with information about a callback function that will be called by the Interaction Library for logging purposes.
Public Attributes | |
IL_Logger_Callback | callback |
The callback function that is called when a log entry is available. More... | |
IL_LoggingLevel | level |
void * | context |
The context that is passed to the callback function. More... | |
IL_Logger_Callback callback |
The callback function that is called when a log entry is available.
IL_LoggingLevel level |
void* context |
The context that is passed to the callback function.
typedef void(* IL_Logger_Callback) (IL_LoggingLevel level, const char *text, void *context) |
Prototype of the callback function that Interaction Library calls when a log entry is available.
level | The parameter denotes the highest log level at which the callback function will be called. For example, if "info" is specified, then the callback will be called for "error", "warning" and "info", but not for "debug" and "trace" |
text | Pointer to a null terminated character array formatted in a format specified by Tobii. The parameter is only valid in the scope of the callback. |
context | The context provided by the client in the IL_Logger::context field. |