The logrr_cpp library provides the API for sending messages to the log.
The logrr_cpp library is intended for use in C++ programs. In C-language programs, use the logrr_clog library.
To get access to the library API:
logrr_cpp package by running the find_package() command.find_package(logrr_cpp REQUIRED)
target_link_libraries() command to link your build target to the library. To get the name of the library, use the logrr_cpp::logrr_cpp target that is provided by the logrr_cpp package.target_link_libraries (${TARGET_NAME} logrr_cpp::logrr_cpp)
The logrr_cpp:logrr_cpp target links to the dynamic library by default. Also, you can link to the dynamic library explicitly by using the logrr_cpp::logrr_cpp-shared target. If you want to link to a static library, use the logrr_cpp::logrr_cpp-static target.