CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
Loading...
Searching...
No Matches
internal_log.h File Reference

The declarations in this header file is used for logging. More...

#include "configuration.h"
#include "cdi_log_api.h"
#include "private.h"

Go to the source code of this file.

Macros

#define SDK_LOG_GLOBAL(log_level, ...)
 Send the log message to SDK global log.
 

Detailed Description

The declarations in this header file is used for logging.

Macro Definition Documentation

◆ SDK_LOG_GLOBAL

#define SDK_LOG_GLOBAL ( log_level,
... )
Value:
CdiLogger(cdi_global_context.global_log_handle, kLogComponentGeneric, log_level, __FUNCTION__, __LINE__, \
__VA_ARGS__)
@ kLogComponentGeneric
Generic component.
Definition cdi_log_enums.h:36
CDI_INTERFACE void CdiLogger(CdiLogHandle handle, CdiLogComponent component, CdiLogLevel log_level, const char *function_name_str, int line_number, const char *format_str,...)
Definition logger.c:862
CdiGlobalContext cdi_global_context
global configuration data.
Definition internal.c:44
CdiLogHandle global_log_handle
Handle to global log.
Definition private.h:49

Send the log message to SDK global log.