logger: added overloaded method for std::string