Fixed output bug attempting to log a std::string instead of a C-style string with printf.