- Timestamp:
- Jul 31, 2011, 9:09:23 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/libraries/network/WANDiscovery.cc
r8351 r8807 45 45 { 46 46 /* debugging output */ 47 COUT(4) << "Creating WANDiscovery.\n";47 orxout(verbose, context::master_server) << "Creating WANDiscovery." << endl; 48 48 49 49 /* register object in orxonox */ … … 55 55 /* initialize it and see if it worked */ 56 56 if( msc.initialize() ) 57 COUT(2) << "Error: could not initialize master server communications!\n";57 orxout(internal_error, context::master_server) << "Could not initialize master server communications!" << endl; 58 58 59 59 /* connect and see if it worked */ 60 60 if( msc.connect( this->msaddress.c_str(), ORX_MSERVER_PORT ) ) 61 COUT(2) << "Error: could not connect to master server at "62 << this->msaddress << std::endl;61 orxout(internal_error, context::master_server) << "Could not connect to master server at " 62 << this->msaddress << endl; 63 63 64 64 /* debugging output */ 65 COUT(4) << "Initialization of WANDiscovery complete.\n";65 orxout(verbose, context::master_server) << "Initialization of WANDiscovery complete." << endl; 66 66 } 67 67 … … 85 85 /* error recognition */ 86 86 if( !ev || !ev->packet || !ev->packet->data ) 87 { COUT(2) << "Bad arguments received in WANDiscovery's reply handler.\n";87 { orxout(internal_warning, context::master_server) << "Bad arguments received in WANDiscovery's reply handler." << endl; 88 88 return 0; 89 89 }
Note: See TracChangeset
for help on using the changeset viewer.