CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
|
A structure of this type is used to configure the type of log method that is being used. It is passed as the parameter to CdiCoreInitialize() and as part of the CdiTxConfigData or CdiRxConfigData configuration data passed to the Cdi...TxCreate() API functions. More...
#include <cdi_log_api.h>
Data Fields | ||
CdiLogMethod | log_method | |
Indicates which structure of the union is valid. | ||
union { | ||
CdiLogCallbackData callback_data | ||
The internal state of the structure contains no data if log_method is kLogMethodStdout. More... | ||
const char * log_filename_str | ||
The internal state of the structure if log_method is kLogMethodFile. | ||
}; | ||
A structure of this type is used to configure the type of log method that is being used. It is passed as the parameter to CdiCoreInitialize() and as part of the CdiTxConfigData or CdiRxConfigData configuration data passed to the Cdi...TxCreate() API functions.
CdiLogCallbackData CdiLogMethodData::callback_data |
The internal state of the structure contains no data if log_method is kLogMethodStdout.
The internal state of the structure if log_method is kLogMethodCallback.