{"repo":"lcsmuller/logmod","free":true,"listed":false,"github":"https://github.com/lcsmuller/logmod","clone":"git clone https://github.com/lcsmuller/logmod.git","description":"A lightweight modular C logging library","language":"C","stars":37,"topics":["ansi-c","c89","logger","logging","logging-library","c99","modular","stackful"],"license":"MIT","category":"analytics","readme_excerpt":"LogMod LogMod is a lightweight, flexible logging library for C applications that supports multiple severity levels, custom labels, thread-safety, and colored output. It's designed to be easy to integrate with zero dynamic memory allocation, supporting both C89 and C99 standards through a single-header implementation. Table of Contents - Features - Build - Fallback Logger - Usage - Initialization - Retrieving Loggers - Logging Messages - Custom Log Labels - Color Support - ANSI Color Formatting - Thread Safety - Custom Logging Callback - LogMod Options - Cleanup - C89 vs C99 Support - API Reference - logmod init - logmod cleanup - logmod get logger - logmod set lock - logmod encode - logmod logger set callback - logmod logger set data - logmod logger set options - logmod logger set id visibility - logmod logger set quiet - logmod logger set color - logmod logger set logfile - logmod logger get counter - logmod logger get label - logmod logger get level - logmod logger set level - logmod set options - logmod toggle logger - logmod logger set time - logmod logger set counter - Examples - License Features - Zero dynamic-allocation - Initialize logging context with application ID and logger table. - Retrieve or create loggers by context ID. - Log messages with different severity levels (TRACE, DEBUG, INFO, WARN, ERROR, FATAL). - Support for custom log labels for application-specific logging needs. - Custom callback support for advanced logging scenarios. - Thread-safe logging with","default_branch":null,"files":null,"tree":[],"storefront":"/r/lcsmuller","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lcsmuller/logmod/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."}