{"repo":"pymumu/tinylog","free":true,"listed":false,"github":"https://github.com/pymumu/tinylog","clone":"git clone https://github.com/pymumu/tinylog.git","description":"A lightweight C, C++ logging library developed for Linux, It is designed with high performance, asynchronized, thread-safe and process-safe; tinylog是一个专为UNIX设计的轻量级的C/C++日志模块，其提供了高性能，异步，线程安全，进程安全的日志功能。","language":"C","stars":246,"topics":["log","logging-library","lightweight","logging","asynchronous","multithreading","tinylog","library","c","cpp"],"license":null,"category":"analytics","readme_excerpt":"TinyLog 中文REAMDME请看这里 Tinylog is a lightweight C-language high performance log component for UNIX environment, It is high performance, asynchronized, thread-safe and process-safe log library for C/C++. It support log archiving, asynchronized, multithreading writing, multiprocessing writing, non-blocking mode. output example: archive example: Features 1. Log to compressed archive file. 2. Log level output. 3. log format customization. 4. asynchronized log output. 5. Multiple log file support. 6. printf, vprintf similar interface, easy to expand. 7. non-blocking log mode. 8. Multithreading concurrent write. 9. Multiprcessing concurrent write. 10. c++ std::cout sytle log function. 11. Output log with color. Usage 1. Include the log header file tlog.h in the C code. 2. Call tlog init to initialize the log module. 3. Call tlog or tlog [debug info notice warn error fatal] function output log. 4. Call tlog [debug info notice warn error fatal]<< output c++ log. 5. Call tlog exit to exit the shutdown log component. Example 1. Output log 1. Output log with color. 1. Output log for c++ cout style 1. Independent log stream c printf style cpp std::out like style API description 1. int tlog init(const char logfile, int maxlogsize, int maxlogcount, int buffsize, unsigned int flag); Function ：Initialize log module logfile : log file maxlogsize : The maximum size of a single log file. maxlogcount : Number of archived logs. buffsize : Buffer size flag : log output flag: List of flags are as fo","default_branch":null,"files":null,"tree":[],"storefront":"/r/pymumu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pymumu/tinylog/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."}