C++ module for logging