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/y2019/vision/server/server.cc b/y2019/vision/server/server.cc
index baab2c2..e66a70b 100644
--- a/y2019/vision/server/server.cc
+++ b/y2019/vision/server/server.cc
@@ -46,19 +46,19 @@
void WebsocketHandler::onConnect(seasocks::WebSocket *connection) {
connections_.insert(connection);
- LOG(INFO, "Connected: %s : %s\n", connection->getRequestUri().c_str(),
- seasocks::formatAddress(connection->getRemoteAddress()).c_str());
+ AOS_LOG(INFO, "Connected: %s : %s\n", connection->getRequestUri().c_str(),
+ seasocks::formatAddress(connection->getRemoteAddress()).c_str());
}
void WebsocketHandler::onData(seasocks::WebSocket * /*connection*/,
const char *data) {
- LOG(INFO, "Got data: %s\n", data);
+ AOS_LOG(INFO, "Got data: %s\n", data);
}
void WebsocketHandler::onDisconnect(seasocks::WebSocket *connection) {
connections_.erase(connection);
- LOG(INFO, "Disconnected: %s : %s\n", connection->getRequestUri().c_str(),
- seasocks::formatAddress(connection->getRemoteAddress()).c_str());
+ AOS_LOG(INFO, "Disconnected: %s : %s\n", connection->getRequestUri().c_str(),
+ seasocks::formatAddress(connection->getRemoteAddress()).c_str());
}
void WebsocketHandler::SendData(const std::string &data) {