You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

984 B

Build Status


A small library which implements logging.



#include "logging/logging.h"

int main(const int argc, const char **argv) {
	println_debug("42");    // -> [DEBUG] 42
	println_error("42");    // -> [ERROR] 42
	println_info("42");     // -> [INFO]  42
	println_warn("42");     // -> [WARN]  42


The package can be installed via source with the following commands.

git clone
cd logging.h
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --target install

Usage with Cmake

You can use logging.h with cmake as follows. Thereby replace <target> with your target.

find_package(logging 0.0.2 EXACT REQUIRED)
target_link_libraries(<target> PRIVATE logging::logging-static)