Removed extra reference for logMsg in platform.h