A simple log library for C and C++ applications