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.
Arwed Mett 7c3e7aa420 update readme 4 years ago
cmake better yaml 4 years ago
example updated example to new api 4 years ago
images added example image 4 years ago
include/logging better interface 4 years ago
src better interface 4 years ago
.bash_history nicer build 4 years ago
.core.yml better yaml 4 years ago
.gitignore initial commit 4 years ago
CMakeLists.txt added shared and static lib 4 years ago
Dockerfile modified docker 4 years ago
LICENSE.txt detect version from git 4 years ago update readme 4 years ago

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 REQUIRED)
target_link_libraries(<target> PRIVATE Logging::static)