Basic Logging Utility for c++