MCPcopy Create free account
hub / github.com/DFHack/dfhack / Utf8DebugString

Method Utf8DebugString

depends/protobuf/google/protobuf/text_format.cc:80–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80string Message::Utf8DebugString() const {
81 string debug_string;
82
83 TextFormat::Printer printer;
84 printer.SetUseUtf8StringEscaping(true);
85
86 printer.PrintToString(*this, &debug_string);
87
88 return debug_string;
89}
90
91void Message::PrintDebugString() const {
92 printf("%s", DebugString().c_str());

Callers

nothing calls this directly

Calls 1

PrintToStringMethod · 0.80

Tested by

no test coverage detected