{"repo":"aremmell/libsir","free":true,"listed":false,"github":"https://github.com/aremmell/libsir","clone":"git clone https://github.com/aremmell/libsir.git","description":"The most portable, extensible, and configurable C logging library. Thread-safe, native syslog/os_log/EventLog, custom plugins. C17 core w/ C++20 wrapper, bindings. Adapters for fmt, std::format, std::iostream, and boost::format.","language":"C","stars":34,"topics":["cross-platform","thread-safe","ansi-colors","no-dependencies","c","c17","cpp20","cpp","embedded","event-log"],"license":"MIT","category":"analytics","readme_excerpt":"libsir libsir&mdash;a lightweight, cross-platform library for information distribution Overview - Synopsis - Notables - Cross-platform compatibility - System Loggers - C++ compatibility - Language Bindings - An example - Building from source - Unix Makefile - Environment Variables - Recipes - Visual Studio Code - Build Tasks - Visual Studio 2022 - MSBuild - Dig in - GNU Global - SAST Tools - Other Tools Synopsis libsir is a cross-platform, thread-safe logging library written in C ( ISO/IEC 9899:2011 C11 ) that is designed to simplify and streamline the generation and distribution of human-readable information in software. Using libsir, you can make a single call that simultaneously sends information to multiple destinations, each with their own individual preference for format and levels . Each 'level' or 'priority' of output can be visually styled however you wish for stdio destinations. This allows for immediate visual confirmation that a message appeared in the terminal that you should pay attention to, while less pressing information is more subtle in appearance. Notables - No dependencies (other than libc and pthreads ). On Windows, libsir uses the native synchronization API. - Accompanied by a robust test suite to ensure dependable behavior, even if you make modifications to the source. - Won't fail silently&mdash;C library or platform level errors are captured and stored for posterity, on a per-thread basis. The function, file, and line number from which it originated ","default_branch":null,"files":null,"tree":[],"storefront":"/r/aremmell","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aremmell/libsir/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."}