Sort logs into structures rather than simple lists
This lets us return start times, uuids, etc. The end result is the user
can figure out which logs go with what easier without having to
reproduce this logic again.
Change-Id: I2a0ee2c17492ddfdddda80f20563b3fccfed0f7e
diff --git a/aos/events/logging/log_cat.cc b/aos/events/logging/log_cat.cc
index f406d24..0afdc03 100644
--- a/aos/events/logging/log_cat.cc
+++ b/aos/events/logging/log_cat.cc
@@ -127,7 +127,7 @@
unsorted_logfiles.emplace_back(std::string(argv[i]));
}
- std::vector<std::vector<std::string>> logfiles =
+ const std::vector<aos::logger::LogFile> logfiles =
aos::logger::SortParts(unsorted_logfiles);
aos::logger::LogReader reader(logfiles);