Push renaming of the base away from general logger
It is moved to specific instance of log backend. Not all backends
support renaming.
Change-Id: I2176a283b5dcb1101f69428b9072ffaab7c4d8f9
Signed-off-by: Austin Schuh <austin.schuh@bluerivertech.com>
diff --git a/aos/events/logging/log_backend.cc b/aos/events/logging/log_backend.cc
index 9b3f090..2700c4d 100644
--- a/aos/events/logging/log_backend.cc
+++ b/aos/events/logging/log_backend.cc
@@ -188,7 +188,7 @@
VLOG(1) << "Started " << (was_aligned ? "aligned" : "unaligned")
<< " at offset " << total_write_bytes_ << " on " << filename();
- // Walk through aligned queue and batch writes basel on aligned flag
+ // Walk through aligned queue and batch writes based on aligned flag
for (const auto &item : queue_aligner_.aligned_queue()) {
if (was_aligned != item.aligned) {
// Switching aligned context. Let's flush current batch.