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/y2016/actors/superstructure_actor.cc b/y2016/actors/superstructure_actor.cc
index 26fdd7e..2875cbd 100644
--- a/y2016/actors/superstructure_actor.cc
+++ b/y2016/actors/superstructure_actor.cc
@@ -26,7 +26,7 @@
bool SuperstructureActor::RunAction(
const actors::SuperstructureActionParams ¶ms) {
- LOG(INFO, "Starting superstructure action\n");
+ AOS_LOG(INFO, "Starting superstructure action\n");
MoveSuperstructure(params.partial_angle, params.shooter_angle, false);
WaitForSuperstructure();
@@ -68,7 +68,7 @@
new_superstructure_goal->unfold_climber = unfold_climber;
if (!new_superstructure_goal.Send()) {
- LOG(ERROR, "Sending superstructure move failed.\n");
+ AOS_LOG(ERROR, "Sending superstructure move failed.\n");
}
}
@@ -93,13 +93,13 @@
// estopped.
if (superstructure_status_fetcher_->state < 12 ||
superstructure_status_fetcher_->state == 16) {
- LOG(ERROR, "Superstructure no longer running, aborting action\n");
+ AOS_LOG(ERROR, "Superstructure no longer running, aborting action\n");
return true;
}
if (SuperstructureProfileDone()) {
- LOG(DEBUG, "Profile done.\n");
- return true;
+ AOS_LOG(DEBUG, "Profile done.\n");
+ return true;
}
return false;
}