c-logC/C++ 日志库
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");
评论
Easylogging++高性能c++日志库
轻量级高性能c++日志库(Singleheaderonly)Easylogging++的优势是它的速度和简单。它是轻量级的,健壮的,高性能,线程和类型安全的,它有许多内置功能。它适合在中小型项目中使用
Easylogging++高性能c++日志库
0
spdlog快速的 C++ 日志库
spdlog是一个快速的C++日志库,只包含头文件,兼容C++11。特性:非常快只包含头文件无需依赖第三方库支持跨平台-Linux/Windowson32/64bits支持多线程可对日志文件进行循环输
spdlog快速的 C++ 日志库
0
EasyLogger超轻量级、高性能 C/C++ 日志库
1、介绍EasyLogger是一款超轻量级(ROM1.1主要特性支持用户自定义输出方式(例如:终端、文件、数据库、串口、485、Flash...);日志内容可包含级别、时间戳、线程信息、进程信息等;日
EasyLogger超轻量级、高性能 C/C++ 日志库
0
EasyLogger超轻量级、高性能 C/C++ 日志库
1、介绍EasyLogger 是一款超轻量级(ROM1.1 主要特性支持用户自定义输出方式(例如:终
EasyLogger超轻量级、高性能 C/C++ 日志库
0
SerilogC# 日志库
Serilog是一个结构化的C#日志库。支持从配置初始化, Log.Logger = new LoggerConfiguration() .Read
SerilogC# 日志库
0