| typedef void(* PN_API_IOD_errorLogCbf) (PN_API_IOD_Handle_t *const pnHandle, const uint32_t errorLevel) |
Callback function prototype to indicate the need to log an error.
When the stack detects and error, it sends an error log indication to the application. The indication contains information about how critical the error is (error level), which is described by the values between PN_API_IOD_LOG_CHAT and PN_API_IOD_LOG_DEACTIVATED. The application then decides to take a corresponding action which can range from ignoring the error to completely shutting down Profinet service.
| [in] | pnHandle | Profinet API Handle. |
| [in] | errorLevel | Level of the error. |