cross-platform C plus plus Logger