Basic logger for C and C++ projects