|
Crinit -- Configurable Rootfs Init
|
Header related to elos connection. More...


Go to the source code of this file.
Macros | |
| #define | CRINIT_ELOSLOG_FEATURE_NAME "elos" |
| #define | CRINIT_ELOSLOG_EVENT_LIMIT 0x400 |
Functions | |
| int | crinitEloslogInit (void) |
| int | crinitEloslogActivate (bool e) |
| int | crinitElosLog (crinitElosSeverityE_t severity, crinitElosEventMessageCodeE_t messageCode, uint64_t classification, const char *format,...) |
Header related to elos connection.
| #define CRINIT_ELOSLOG_EVENT_LIMIT 0x400 |
| #define CRINIT_ELOSLOG_FEATURE_NAME "elos" |
| int crinitElosLog | ( | crinitElosSeverityE_t | severity, |
| crinitElosEventMessageCodeE_t | messageCode, | ||
| uint64_t | classification, | ||
| const char * | format, | ||
| ... | |||
| ) |
Log a crinit event to elos.
| severity | The event severity. |
| messageCode | The event message code. |
| classification | The event classification bitmask. |
| format | Format string to format remaining arguments. |
| int crinitEloslogActivate | ( | bool | e | ) |
Specify if events should be sent to Elos.
By default, Crinit will not connect to elos. If this is set to true, however, Crinit will connect and send events to the elos daemon.
| e | true if elos should be used, false otherwise. |
| int crinitEloslogInit | ( | void | ) |
Initialize all components needed to handle event logging.