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 NEVER_DISCARD flag to LogWriter
[folly.git]
/
folly
/
experimental
/
logging
/
test
/
StandardLogHandlerTest.cpp
diff --git
a/folly/experimental/logging/test/StandardLogHandlerTest.cpp
b/folly/experimental/logging/test/StandardLogHandlerTest.cpp
index c34366d7094e8d7916ebc450960b53266d062321..8ea4efeef8679be2d631cd794e93e4e98536bba0 100644
(file)
--- a/
folly/experimental/logging/test/StandardLogHandlerTest.cpp
+++ b/
folly/experimental/logging/test/StandardLogHandlerTest.cpp
@@
-49,7
+49,8
@@
class TestLogFormatter : public LogFormatter {
class TestLogWriter : public LogWriter {
public:
- void writeMessage(folly::StringPiece buffer) override {
+ void writeMessage(folly::StringPiece buffer, uint32_t /* flags */ = 0)
+ override {
messages_.emplace_back(buffer.str());
}