Searched refs:SetLogHandler (Results 1 – 4 of 4) sorted by relevance
105 LogHandler* old_handler = SetLogHandler(nullptr); in TEST()112 EXPECT_TRUE(SetLogHandler(old_handler) == nullptr); in TEST()121 LogHandler* old_handler = SetLogHandler(&CaptureLog); in TEST()127 EXPECT_TRUE(SetLogHandler(old_handler) == &CaptureLog); in TEST()141 LogHandler* old_handler = SetLogHandler(&CaptureLog); in TEST()153 EXPECT_TRUE(SetLogHandler(old_handler) == &CaptureLog); in TEST()
273 LogHandler* SetLogHandler(LogHandler* new_func) { in SetLogHandler() function
221 PROTOBUF_EXPORT LogHandler* SetLogHandler(LogHandler* new_func);
265 old_handler_ = SetLogHandler(&HandleLog); in ScopedMemoryLog()269 SetLogHandler(old_handler_); in ~ScopedMemoryLog()