If you are currently implementing or about to implement logging functionality, most likely you are thinking of doing it with a format string, and most likely the compiler would not be able to catch if the format string is not aligned with the parameters, and if the parameters are not aligned, the app will crash. So, please don’t do it. – A developer in pain.
You can do it in the streams C++ style std::cout << 1 << 2 << 3;
or you can do it in a comma-separated style LOG(1, 2, 3)
.