|
libcobaro-log0
1.0.0
|
Log information structure. More...
#include <log.h>
Data Fields | |
| uint32_t | id |
| Opaque header for use in identifying this object as a log message, when multiple structure types are eg. More... | |
| uint32_t | code |
| Log code. Zero is successful. | |
| struct cobaro_log * | next |
| Queue. | |
| uint8_t | level |
| Log level, from cobaro_log_levels enumeration. | |
| char | pad [44] |
| Pad to make us fit into 512 bytes exactly. | |
| struct { | |
| uint8_t type | |
| Value type discriminant. More... | |
| union { | |
| char s [48] | |
| String value. | |
| int64_t i | |
| Integer value. | |
| double f | |
| Floating point value. | |
| uint32_t ipv4 | |
| IPv4 address (32 bit network format) | |
| } v | |
| Value. | |
| } | p [COBARO_LOG_PARAM_MAX] |
| Array of parameters relevant to this log. | |
Log information structure.
Can carry a log code, plus COBARO_LOG_PARAM_MAX parameters of variant types.
| uint32_t cobaro_log::id |
Opaque header for use in identifying this object as a log message, when multiple structure types are eg.
delivered via the same queue.
| uint8_t cobaro_log::type |
Value type discriminant.
Legal values are defined in the cobaro_log_types enumeration.
1.8.5