A tiny logging framework for C applications