Fix Log message

Correctly pass log message a char * rather than std::string.