MCPcopy Create free account
hub / github.com/apache/brpc / ~LogStateSaver

Method ~LogStateSaver

test/logging_unittest.cc:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 LogStateSaver() : old_min_log_level_(GetMinLogLevel()) {}
39
40 ~LogStateSaver() {
41 SetMinLogLevel(old_min_log_level_);
42 SetLogAssertHandler(NULL);
43 log_sink_call_count = 0;
44 }
45
46 private:
47 int old_min_log_level_;

Callers

nothing calls this directly

Calls 2

SetMinLogLevelFunction · 0.85
SetLogAssertHandlerFunction · 0.85

Tested by

no test coverage detected