iDRS™ SDK 16
Loading...
Searching...
No Matches
ILogger_interface.h
Go to the documentation of this file.
1
7#ifndef ILOGGER_INTERFACE_H
8
9#define ILOGGER_INTERFACE_H
10
11#include "idrskrn_interface.h"
13
14#include "idrs_common.h"
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20typedef void (*PtrOnReceivedMessageFn)(enum SeverityLevel const, const idrs_string);
21
31ILogger ILogger_Create(PtrOnReceivedMessageFn ptrOnReceivedMessageFn, idrs_exception *pargException);
32
40void ILogger_Destroy(ILogger argILogger, idrs_exception *pargException);
41
52void ILogger_OnReceivedMessage(ILogger argILogger, enum SeverityLevel const evSeverityLevel, const idrs_string strMessage, idrs_exception *pargException);
53
54#ifdef __cplusplus
55}
56#endif /* __cplusplus */
57
58#endif /* ILOGGER_INTERFACE_H */
Interface for EnumDefinitions wrapper.
SeverityLevel
The SeverityLevel defines the severity level of the events that are logged and can be received by an ...
Definition EnumDefinitions_interface.h:99
void ILogger_OnReceivedMessage(ILogger argILogger, enum SeverityLevel const evSeverityLevel, const idrs_string strMessage, idrs_exception *pargException)
OnReceivedMessage is a method which will be called on reception of meaningful events to provide infor...
void ILogger_Destroy(ILogger argILogger, idrs_exception *pargException)
Destroys a ILogger handle.
ILogger ILogger_Create(PtrOnReceivedMessageFn ptrOnReceivedMessageFn, idrs_exception *pargException)
Creates a new ILogger object.
Class that handles a string of characters.
Interface for idrskrn wrapper.