CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
|
Structure used to hold state data for a single log of any type (stdout, callback or file). More...
Data Fields | ||
CdiListEntry | list_entry | |
Used so this object can be stored in a list. | ||
CdiLoggerState * | logger_state_ptr | |
Which logger this log is associated with. | ||
CdiConnectionHandle | connection_handle | |
Connection handle to associate with this log. If NULL, the global log is assumed. | ||
CdiLogMethod | log_method | |
Indicates which structure of the union is valid. | ||
union { | ||
LogCallbackData * callback_data_ptr | ||
The internal state of the structure is not used if log_method is kLogMethodStdout. Since there is only one stdout resource, we always use "stdout_multiline_state" directly. More... | ||
LogFileData * file_data_ptr | ||
The internal state of the structure if log_method is kLogMethodFile. | ||
}; | ||
ComponentStateData | component_state_array [kLogComponentLast] | |
Array of component state data. | ||
Structure used to hold state data for a single log of any type (stdout, callback or file).
LogCallbackData* CdiLogState::callback_data_ptr |
The internal state of the structure is not used if log_method is kLogMethodStdout. Since there is only one stdout resource, we always use "stdout_multiline_state" directly.
The internal state of the structure if log_method is kLogMethodCallback.