Log helper class written in modern C++
cppLog::LogI("Hello", "World!");
auto age = 29;
cppLog::LogW("I'm", age, "years old.");
auto b = true;
cppLog::LogE("Yes, this is", b);
cppLog::LogD("Goodbye!");
- Windows 10
- Ubuntu 16.04
- macOS HighSierra 10.13.6
- MSVC 19.14.26428.1
- GCC 5.4.0
- CLang 9.1.0.9020039
Include "cpplog.hpp" into your project and use it as shown in "example/main.cpp".
Cmake >= 3.5
Unix:
cd cppLog
mkdir build
cd build
cmake ..
make
./bin/cpplog
Windows:
cd cppLog
mkdir build
cd build
cmake .. -G "NMake Makefiles"
nmake
.\bin\cpplog