projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
logging: add a LogHandler::flush() call
[folly.git]
/
folly
/
experimental
/
logging
/
test
/
TestLogHandler.h
diff --git
a/folly/experimental/logging/test/TestLogHandler.h
b/folly/experimental/logging/test/TestLogHandler.h
index b35c47a30cfbb04dd7820dd4fc01635436af290e..ae74313b2f6291a15a3c04ff0113bd5c6231fd5e 100644
(file)
--- a/
folly/experimental/logging/test/TestLogHandler.h
+++ b/
folly/experimental/logging/test/TestLogHandler.h
@@
-38,6
+38,8
@@
class TestLogHandler : public LogHandler {
messages_.emplace_back(message, handlerCategory);
}
+ void flush() override {}
+
private:
std::vector<std::pair<LogMessage, const LogCategory*>> messages_;
};