Prefix LOG and CHECK with AOS_
This prepares us for introducing glog more widely and transitioning
things over where they make sense.
Change-Id: Ic6c208882407bc2153fe875ffc736d66f5c8ade5
diff --git a/frc971/wpilib/pdp_fetcher.cc b/frc971/wpilib/pdp_fetcher.cc
index 98da761..aa85184 100644
--- a/frc971/wpilib/pdp_fetcher.cc
+++ b/frc971/wpilib/pdp_fetcher.cc
@@ -29,7 +29,7 @@
void PDPFetcher::Loop(int iterations) {
if (iterations != 1) {
- LOG(DEBUG, "PDPFetcher skipped %d iterations\n", iterations - 1);
+ AOS_LOG(DEBUG, "PDPFetcher skipped %d iterations\n", iterations - 1);
}
auto message = pdp_values_sender_.MakeMessage();
message->voltage = pdp_->GetVoltage();
@@ -38,9 +38,9 @@
for (int i = 0; i < 16; ++i) {
message->currents[i] = pdp_->GetCurrent(i);
}
- LOG_STRUCT(DEBUG, "got", *message);
+ AOS_LOG_STRUCT(DEBUG, "got", *message);
if (!message.Send()) {
- LOG(WARNING, "sending pdp values failed\n");
+ AOS_LOG(WARNING, "sending pdp values failed\n");
}
}