| 123 | } |
| 124 | |
| 125 | std::string StringVPrint(const char* format, |
| 126 | const FormatPrintArg** args, int nargs) |
| 127 | { |
| 128 | std::string s; |
| 129 | int n = StringVPrintAppend(&s, format, args, nargs); |
| 130 | if (n < 0) { |
| 131 | LOG(DFATAL) << "StringVPrint error, format: " << format; |
| 132 | } |
| 133 | return s; |
| 134 | } |
| 135 | |
| 136 | } // namespace toft |
| 137 |
no test coverage detected