Remove multiple logging implementations.
Change-Id: I7474c29b394f37918a35bba58b2fab58a7be930f
diff --git a/y2019/image_streamer/image_streamer.cc b/y2019/image_streamer/image_streamer.cc
index 30bea8f..6f8027c 100644
--- a/y2019/image_streamer/image_streamer.cc
+++ b/y2019/image_streamer/image_streamer.cc
@@ -308,7 +308,7 @@
int main(int argc, char **argv) {
gflags::ParseCommandLineFlags(&argc, &argv, false);
::aos::logging::Init();
- ::aos::logging::AddImplementation(
+ ::aos::logging::SetImplementation(
new ::aos::logging::StreamLogImplementation(stderr));
TCPServer<MjpegDataSocket> tcp_server_(80);
aos::vision::CameraParams params0;
diff --git a/y2019/vision/debug_serial.cc b/y2019/vision/debug_serial.cc
index 857f20f..c707d1f 100644
--- a/y2019/vision/debug_serial.cc
+++ b/y2019/vision/debug_serial.cc
@@ -24,7 +24,7 @@
using namespace frc971::jevois;
// gflags::ParseCommandLineFlags(&argc, &argv, false);
::aos::logging::Init();
- ::aos::logging::AddImplementation(
+ ::aos::logging::SetImplementation(
new ::aos::logging::StreamLogImplementation(stderr));
int flags = fcntl(0, F_GETFL, 0);
diff --git a/y2019/vision/global_calibration.cc b/y2019/vision/global_calibration.cc
index e2c4490..52a6e52 100644
--- a/y2019/vision/global_calibration.cc
+++ b/y2019/vision/global_calibration.cc
@@ -103,7 +103,7 @@
};
::aos::logging::Init();
- ::aos::logging::AddImplementation(
+ ::aos::logging::SetImplementation(
new ::aos::logging::StreamLogImplementation(stderr));
TargetFinder target_finder;