C/C++ 日志库 c-log

码农软件 · 软件分类 · 日志工具(Logging) · 2019-09-21 05:56:48

软件介绍

c-log是一个稳定,高效,多线程安全,易用,简单的C/C++ 日志库,在github主页上有丰富的测试case,后续将会推迟直接输出到scribe等集中式日志收集中间件上,帮助用户更好的收集,分析日志

示例代码:

log_init(LL_TRACE, "mysql", "./log/");
log_notice("%s [time:%d]", "test calling log", time(NULL));
log_debug("debug msg,only write to log when the loglevel bigger than or equal to debug [time:%d]", time(NULL));
log_warn("warnning msg will be writing to the error files [time:%d]", time(NULL));
log_error("you also can change  number of output files by rewrite the macro_define.h");

本文地址:https://www.codercto.com/soft/d/15052.html

程序员2005精华本

程序员2005精华本

《程序员》杂志社 / 电子工业 / 2006-1 / 45.00元

本书为集结了《程序员》杂志与《msdn开发精选》杂志精华。分上、下两册,内容包括人物&报道、管理与实践、程序员手册、年鉴、《程序员》技术专题、《msdn开发精选》文章精选等。一起来看看 《程序员2005精华本》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

在线进制转换器
在线进制转换器

各进制数互转换器

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码