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/interrupt_edge_counting.cc b/frc971/wpilib/interrupt_edge_counting.cc
index a06df8f..546e64b 100644
--- a/frc971/wpilib/interrupt_edge_counting.cc
+++ b/frc971/wpilib/interrupt_edge_counting.cc
@@ -55,8 +55,8 @@
}
current_value_ = hall_value;
} else {
- LOG(WARNING, "Detected spurious edge on %d. Dropping it.\n",
- input_->GetChannel());
+ AOS_LOG(WARNING, "Detected spurious edge on %d. Dropping it.\n",
+ input_->GetChannel());
}
}
}
@@ -93,7 +93,7 @@
::std::unique_lock<::aos::stl_mutex> mutex_guard(mutex_);
for (auto &c : handlers_) {
if (c->interrupt_count_changed()) {
- LOG(WARNING, "got an interrupt while sampling. retrying\n");
+ AOS_LOG(WARNING, "got an interrupt while sampling. retrying\n");
return false;
}
}