MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / Flush

Method Flush

extern/re2/util/logging.h:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 stream() << file << ":" << line << ": ";
62 }
63 void Flush() {
64 stream() << "\n";
65 std::string s = str_.str();
66 size_t n = s.size();
67 if (fwrite(s.data(), 1, n, stderr) < n) {} // shut up gcc
68 flushed_ = true;
69 }
70 ~LogMessage() {
71 if (!flushed_) {
72 Flush();

Callers

nothing calls this directly

Calls 3

strMethod · 0.80
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected