Wrap DetachedBufferWriter in an object for logging
We have 2 use cases for more careful control of the
DetachedBufferWriter. We are seeing headers written twice, and need to
start tracking boot UUID per node per log file. Both would benifit from
an object which can control and track how the log files are being
written.
This should be purely a refactor. Follow-up commits will change how
headers are written and track UUIDs.
Change-Id: Ib5c1ed8f6cdda5e9ac4ec2cd4034d7cc61d61478
Signed-off-by: Austin Schuh <austin.schuh@bluerivertech.com>
diff --git a/aos/events/logging/logger_test.cc b/aos/events/logging/logger_test.cc
index 67d4897..7c89b15 100644
--- a/aos/events/logging/logger_test.cc
+++ b/aos/events/logging/logger_test.cc
@@ -34,7 +34,7 @@
using aos::testing::MessageCounter;
constexpr std::string_view kSingleConfigSha256(
- "bc8c9c2e31589eae6f0e36d766f6a437643e861d9568b7483106841cf7504dea");
+ "bbe1b563139273b23a5405eebc2f2740cefcda5f96681acd0a84b8ff9ab93ea4");
std::vector<std::vector<std::string>> ToLogReaderVector(
const std::vector<LogFile> &log_files) {