2#define XCLOG_FILE_TRACK
3#define XCLOG_LINE_TRACK
4#define XCLOG_FUNCTION_TRACK
14#define XCAL_FATAL_LEVEL 4
15#define XCAL_ERROR_LEVEL 3
16#define XCAL_WARN_LEVEL 2
17#define XCAL_INFO_LEVEL 1
18#define XCAL_DEBUG_LEVEL 0
20#define XCAL_DEBUG(role, label) XLOG(XCAL_DEBUG_LEVEL, role, label)
21#define XCAL_FATAL(role, label) XLOG(XCAL_FATAL_LEVEL, role, label)
22#define XCAL_ERROR(role, label) XLOG(XCAL_ERROR_LEVEL, role, label)
23#define XCAL_WARN(role, label) XLOG(XCAL_WARN_LEVEL, role, label)
24#define XCAL_INFO(role, label) XLOG(XCAL_INFO_LEVEL, role, label)
34#if defined(XCAL_ENABLE_DYNAMIC_LIBRARY) || \
35 defined(XCAL_CODEC_ENABLE_DYNAMIC_LIBRARY)
41# define XCAL_EXPORT __attribute__((dllexport))
42# define XCAL_IMPORT __attribute__((dllimport))
45# define XCAL_EXPORT __declspec(dllexport)
46# define XCAL_IMPORT __declspec(dllimport)
52# define XCAL_EXPORT __attribute__((visibility("default")))
62#ifdef XCAL_ENABLE_DYNAMIC_LIBRARY
64# define XCAL_API XCAL_EXPORT
66# define XCAL_API XCAL_IMPORT
71#ifdef XCAL_CODEC_ENABLE_DYNAMIC_LIBRARY
72# ifdef XCAL_CODEC_BUILD
73# define XCAL_CODEC_API XCAL_EXPORT
75# define XCAL_CODEC_API XCAL_IMPORT
78# define XCAL_CODEC_API
#define XCLOG_ENABLE_ASYNCZMQLOGSUBMITSTREAM(addr)
XCLOG_ENABLE_ASYNCSTREAMLOGSUBMITSTREAM()