C-library: functions for logging, debug printouts

WWW: https://github.com/mambrus/liblog
