Logging tools for C++