{"repo":"shawnfeng0/ulog","free":true,"listed":false,"github":"https://github.com/shawnfeng0/ulog","clone":"git clone https://github.com/shawnfeng0/ulog.git","description":"C/C++ logging library and logrotate/logroller (real-time zstd compression) command-line tool","language":"C++","stars":23,"topics":["logging","log","embedded","logrotate","log-compress","real-time"],"license":"MIT","category":"cli-tools","readme_excerpt":"ulog A library written in C/C ++ for printing logs of lightweight embedded devices. Platforms and Dependent Current version only supports unix-like platforms. LOGGER TOKEN and LOGGER MULTI TOKEN requires C++11 or GCC extension support, but other functions are not needed. Features Different log levels Log color identification Print token (any basic type is automatically recognized and printed) Hex dump (print the hexadecimal content in the specified address) Statistics code running time Quick Demo Code Output Build and integration into the project 1. As a submodule or Download the entire project. If you use cmake (recommended): 2. Configure the following in the cmakelists.txt of the main project: or: 2. Add ulog/include to the include path of your project 3. Add ulog / src / ulog.c to the project's source file list Install (Optional, Only in Unix) If you want to install this library system-wide, you can do so via Document How to use ulog to print logs(API usage overview) Extension tools logroller logroller is a command-line tool for circularly writing the output of other programs to some files via a pipe (\" \"). It is written using ulog's asynchronous fifo and extended headers for file loop writing. Usage:","default_branch":null,"files":null,"tree":[],"storefront":"/r/shawnfeng0","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shawnfeng0/ulog/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."}