From: david Date: Thu, 18 Jul 2002 22:38:46 +0000 (+0000) Subject: Problem reported by Erik Hofman: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e5f4da0e9ab072be501e0d34b2b7b283825f7253;p=flightgear.git Problem reported by Erik Hofman: Replaced left-over std::cout statements with SG_LOG statements. --- diff --git a/src/Input/input.cxx b/src/Input/input.cxx index 25d53645d..b3c57880c 100644 --- a/src/Input/input.cxx +++ b/src/Input/input.cxx @@ -484,14 +484,15 @@ FGInput::_init_joystick () } else { #ifdef FG_PLIB_JOYSTICK_GETNAME const char * name = js->getName(); - std::cout << "Looking for bindings for joystick \"" - << name << '"' << std::endl; + SG_LOG(SG_INPUT, SG_INFO, "Looking for bindings for joystick \"" + << name << '"'); vector nodes = js_nodes->getChildren("js-named"); for (unsigned int i = 0; i < nodes.size(); i++) { SGPropertyNode_ptr node = nodes[i]; - std::cout << " Trying \"" << node->getStringValue("name") << '"' << std::endl; + SG_LOG(SG_INPUT, SG_INFO, + " Trying \"" << node->getStringValue("name") << '"'); if (!strcmp(node->getStringValue("name"), name)) { - std::cout << " Found bindings" << std::endl; + SG_LOG(SG_INPUT, SG_INFO, " Found bindings"); js_node = node; break; }