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
/
StandardLogHandler.cpp
diff --git
a/folly/experimental/logging/StandardLogHandler.cpp
b/folly/experimental/logging/StandardLogHandler.cpp
index 4da5505bb70f9ae502b3728539b5eef1c39ceaa3..51debdac0d028d39460fc534950b2859073b4859 100644
(file)
--- a/
folly/experimental/logging/StandardLogHandler.cpp
+++ b/
folly/experimental/logging/StandardLogHandler.cpp
@@
-36,4
+36,8
@@
void StandardLogHandler::handleMessage(
}
writer_->writeMessage(formatter_->formatMessage(message, handlerCategory));
}
+
+void StandardLogHandler::flush() {
+ writer_->flush();
+}
}