log_str()
log_signal()
std::string
This is a small but easy step towards removing the `log_id_cache`. See issue #5210.