From bb8645dd184c398fbd9dfc2221160ef2194de7eb Mon Sep 17 00:00:00 2001 From: DennisOSRM Date: Thu, 9 Feb 2012 17:51:05 +0100 Subject: [PATCH] Changed debug output to use output macros instead of std::cout directly --- Server/RequestHandler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/RequestHandler.h b/Server/RequestHandler.h index db445f250..77635ccdf 100644 --- a/Server/RequestHandler.h +++ b/Server/RequestHandler.h @@ -51,11 +51,11 @@ public: void handle_request(const Request& req, Reply& rep){ //parse command std::string request(req.uri); - //std::cout << "[r] " << request << std::endl; +// INFO( "[r] " << request ); std::string command; std::size_t firstAmpPosition = request.find_first_of("&"); command = request.substr(1,firstAmpPosition-1); -// std::cout << "[debug] looking for handler for command: " << command << std::endl; +// DEBUG("[debug] looking for handler for command: " << command); try { if(pluginMap.Holds(command)) {