A lightweight C++ logging abstraction library designed to seamlessly integrate with various logging frameworks. The library provides a flexible and extensible interface, allowing you to easily switch between different logging backends (e.g., spdlog, Boost.Log, custom implementations) without modifying your core code.
- Plug-and-Play Design: Quickly integrate with existing logging solutions.
- Flexible Interface: Consistent API for different logging backends.
- Minimal Overhead: Lightweight and efficient, ideal for performance-critical applications.
- Extensible: Easily add support for additional logging libraries.
#include "ILogger.h"
int main()
{
logINFO("Hello, {}. Are you {} years old only?!?", "Vincent", 50);
return 0;
}
Should work out of the box
Install conan version 2.0.0 or higher
conan profile new default --detect
conan install . --build missing --settings build_type=Debug
cmake --preset conan-default
cmake --build --preset conan-debug
.\build\Debug\logger.exe
conan install . --build missing --settings "&:build_type=Debug" --settings build_type=Release
cmake --preset conan-debug
cmake --build --preset conan-debug
./build/Debug/logger