A simple logger and assert library. header only
Use with cmake:
add_subdirectory(ueberlog)
target_link_libraries ( <YOUR_TARGET> PUBLIC ueberlog )
Console version:
g++ -std=c++17 -Iueberlog/include main.cpp
#include <ueberlog/ueberlog.hpp>
int main() {
DEBUG("HELP %d %f\n", 42, 3.14f);
INFO("HELP %d %f\n", 42, 3.14f);
ERROR("HELP %d %f\n", 42, 3.14f);
WARN("HELP %d %f\n", 42, 3.14f);
ASSERT(false, " %d != %d\n", 42, 43);
return 0;
}