High-performance C logging library with minimal overhead
High-performance C logging library
zlog$ #include <zlog.h>
int rc = zlog_init("zlog.conf");$ zlog_info(c, "User %s logged in", username);$ cat > zlog.conf << 'EOF'
[global]
strictly init = true
[rules]
my_cat.* >stdout; simple
EOF