The log level defaults to 1 (INFO). With the changes, the log level can be adjusted by a macro.
E.g. when this library is used in another project, the ADS log level can be adjusted in the top level CMakeLists.txt with:
add_definitions(-DADS_LOGLVL=3) which sets it to 3 (ERROR).
The log level defaults to 1 (INFO). With the changes, the log level can be adjusted by a macro. E.g. when this library is used in another project, the ADS log level can be adjusted in the top level CMakeLists.txt with:
add_definitions(-DADS_LOGLVL=3)
which sets it to 3 (ERROR).