C++ Logger Singleton