Improved perf by using const char* instead of std::string& when accepting format strings