rh-messaging / cli-cpp

Apache License 2.0
1 stars 1 forks source link

Improve conditional inclusion of tracing, also condition on Proton version #86

Closed jiridanek closed 1 year ago

jiridanek commented 1 year ago

Compilation fails with older versions of Proton (<0.38.0), because tracing API (function to enable tracing) is not available there.

Implements conditional compilation so that tracing functionality is extracted to a file and file is included only if tracing is supported.