OMNI_OTEL_DYNAMICLINK#
Defined in omni/observability/Utils.h
-
OMNI_OTEL_DYNAMICLINK#
Macro to export or import a symbol from a given module.
If the
OMNI_OTEL_EXPORTSmacro is defined, the symbol will be exported from the module. In this case, this macro must only be defined in a single translation unit in the module otherwise there will be multiple definition linking errors. IfOMNI_OTEL_EXPORTSis not defined, the module will be expecting to import the symbol from another module or library.