Add logger and log_dumper binaries
This enables actually logging data on the roborio and subsequently
actually doing basic viewing of the data in the logfiles.
Tested manually on my local machine.
This also makes an //aos/events/logging folder (this is distinct from
the //aos/logging folder which contains older logging information).
Change-Id: I41f3216d6c56e8330667e8dd6050b1a0dd5b19c9
diff --git a/aos/time/time.h b/aos/time/time.h
index 3cc0c2a..aecddf0 100644
--- a/aos/time/time.h
+++ b/aos/time/time.h
@@ -65,10 +65,10 @@
time_point(duration(::std::numeric_limits<duration::rep>::max()))};
};
-void PrintTo(const monotonic_clock::time_point t, std::ostream *os);
+std::ostream &operator<<(std::ostream &stream,
+ const aos::monotonic_clock::time_point &now);
namespace time {
-
#ifdef __linux__
// Construct a time representing the period of hertz.