Fixed|libcommon: Build error (C++ passed through ...)

Better to use the C++ Log API in a C++ source file.