Simple log library for C