Safe API Framework 0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
rte_osadapter_log.h
Go to the documentation of this file.
1
7#ifndef RTE_OSADAPTER_LOG_H
8#define RTE_OSADAPTER_LOG_H
9
10#include "rte/oal/log/rte_log.h"
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
20typedef struct rte_osadapter_log_s
21{
22 rte_status_t (*init)(void);
23 void (*write)(rte_log_level_t level, const char *tag, const char *message);
25
37
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif /* RTE_OSADAPTER_LOG_H */
rte_log_level_t
Log message severity, passed to rte_log_write().
Definition rte_log.h:34
rte_status_t
Common result/status codes.
Definition rte_status.h:27
OS Abstraction Layer - Logging/diagnostics service.
rte_status_t rte_osadapter_log_register(const rte_osadapter_log_t *adapter)
Registers the OSAdapter log implementation.
Definition rte_log.c:80
Common status/error codes returned by every Safe API Framework function. Shared across all OS Abstrac...
OSAdapter logging operations vtable.