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
Go to the documentation of this file.
1// -------------------------------------------------------------------------------------------
2// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
3// This file is part of the AWS CDI-SDK, licensed under the BSD 2-Clause "Simplified" License.
4// License details at: https://github.com/aws/aws-cdi-sdk/blob/mainline/LICENSE
5// -------------------------------------------------------------------------------------------
6
13#ifndef CDI_INTERNAL_LOG_H__
14#define CDI_INTERNAL_LOG_H__
15
16// The configuration.h file must be included first since it can have defines which affect subsequent files.
17#include "configuration.h"
18
19#include "cdi_log_api.h"
20#include "private.h"
21
22//*********************************************************************************************************************
23//***************************************** START OF DEFINITIONS AND TYPES ********************************************
24//*********************************************************************************************************************
25
27#define SDK_LOG_GLOBAL(log_level, ...) \
28 CdiLogger(cdi_global_context.global_log_handle, kLogComponentGeneric, log_level, __FUNCTION__, __LINE__, \
29 __VA_ARGS__)
30
31//*********************************************************************************************************************
32//******************************************* START OF PUBLIC FUNCTIONS ***********************************************
33//*********************************************************************************************************************
34
35#endif // CDI_INTERNAL_LOG_H__
This file declares the public API data types, structures and functions that comprise the CDI log API.
This header file contains definitions used to define the build configuration of the CDI SDK's impleme...
This header file contains definitions of types and the one global variable used internally by the SDK...