{"repo":"nyorain/dlg","free":true,"listed":false,"github":"https://github.com/nyorain/dlg","clone":"git clone https://github.com/nyorain/dlg.git","description":"Lightweight logging library for C/C++","language":"C","stars":41,"topics":["logging","debug","lightweight"],"license":"BSL-1.0","category":"analytics","readme_excerpt":"dlg === Just another lightweight logging library with C and C++ api. Pretty much everything can be configured (kinda like bring your own outputting and formatting and filtering system and handle all the additional fancy stuff yourself, but only if you want to, otherwise we got some pretty nice defaults for you). I tried hard to keep the amount of unneeded bullshit to a minimum ( adding loc amount to convince you here, pretty hard to write much bullshit besides a well-documented logging interface in a few hundred lines ): There are 3 headers: - (around 290 loc): Everything you need, no dependencies - (around 170 loc): Utilities for implementing custom output handlers - (around 390 loc): Modern C++11 utilities, typesafe formatter. Can use std::format with C++20. You can either build dlg.c as library or include it directly into your project (nothing else needed). The name stands for some kind of super clever word mixture of the words 'debug' and 'log' (think of something yourself, duh). Uses meson as build system, but you don't really need a build system for this after all. Show me something already Besides a simple look into the headers, have a look into the synopsis and additional documentation for the latest release. Thousands words, explanations and pictures don't say as much as a single code example though. Here a simple preview of its core functionality (there is more fancy stuff, look into the linked example): Nontheless a rather beautiful picture of dlg in action for you","default_branch":null,"files":null,"tree":[],"storefront":"/r/nyorain","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nyorain/dlg/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}