|
Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
Backend vtable: an integrator's implementation of the logging sink (ADR-005). Unlike every other OAL service, an unregistered backend is not an error here: sapi_log_write() with no backend registered silently does nothing, consistent with REQ-OAL-LOG-001 (logging must never affect caller control flow). More...
#include <sapi_log_backend.h>
Data Fields | |
| sapi_status_t(*) | init (void) |
| Backend implementation of sapi_log_init(). May be NULL. | |
| void(*) | write (sapi_log_level_t level, const char *tag, const char *message) |
| Backend implementation of sapi_log_write(). May be NULL. | |
Backend vtable: an integrator's implementation of the logging sink (ADR-005). Unlike every other OAL service, an unregistered backend is not an error here: sapi_log_write() with no backend registered silently does nothing, consistent with REQ-OAL-LOG-001 (logging must never affect caller control flow).
Definition at line 32 of file sapi_log_backend.h.
| sapi_status_t(*) sapi_log_backend_t::init(void) |
Backend implementation of sapi_log_init(). May be NULL.
Definition at line 35 of file sapi_log_backend.h.
| void(*) sapi_log_backend_t::write(sapi_log_level_t level, const char *tag, const char *message) |
Backend implementation of sapi_log_write(). May be NULL.
Definition at line 37 of file sapi_log_backend.h.