projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
logging: improve the AsyncFileWriter flush test()
[folly.git]
/
folly
/
experimental
/
logging
/
LogStream.cpp
diff --git
a/folly/experimental/logging/LogStream.cpp
b/folly/experimental/logging/LogStream.cpp
index f3ecbbe722ff5ee94bbeb2fefeaf16998ab4c1ed..6b851099f99f0a1240655011cd9e4cdcad495c19 100644
(file)
--- a/
folly/experimental/logging/LogStream.cpp
+++ b/
folly/experimental/logging/LogStream.cpp
@@
-46,7
+46,8
@@
LogStreamBuffer::int_type LogStreamBuffer::overflow(int_type ch) {
}
}
-LogStream::LogStream() : std::ostream(nullptr) {
+LogStream::LogStream(LogStreamProcessor* processor)
+ : std::ostream(nullptr), processor_{processor} {
rdbuf(&buffer_);
}