log4c

Logging framework for C applications with configurable appenders

brewmacoslinux
Try with needOr install directly
Source

About

Logging Framework for C

Commands

log4c

Examples

Initialize log4c in a C program with basic configuration$ gcc -o myapp myapp.c $(pkg-config --cflags --libs liblog4c) && ./myapp
View log4c configuration file format documentation$ man log4c.conf
Compile C code linking against log4c library$ gcc -c myapp.c -o myapp.o $(pkg-config --cflags liblog4c) && gcc myapp.o -o myapp $(pkg-config --libs liblog4c)