zlog

High-performance C logging library with minimal overhead

brewmacoslinux
Try with needOr install directly
Source

About

High-performance C logging library

Commands

zlog

Examples

Initialize zlog in a C program by including the header$ #include <zlog.h> int rc = zlog_init("zlog.conf");
Log a message at info level using zlog category$ zlog_info(c, "User %s logged in", username);
Configure zlog with a configuration file for production use$ cat > zlog.conf << 'EOF' [global] strictly init = true [rules] my_cat.* >stdout; simple EOF