Changeset 8809 for code/branches/output/src/orxonox/ChatHistory.cc
- Timestamp:
- Aug 1, 2011, 4:37:38 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/orxonox/ChatHistory.cc
r8327 r8809 131 131 /* output the line to the file if logging is enabled */ 132 132 if( this->hist_log_enabled ) 133 this->hist_logfile << toadd << std::endl;133 this->hist_logfile << toadd << endl; 134 134 return 0; 135 135 } … … 154 154 { this->hist_log_enabled = false; 155 155 #ifndef CHATTEST 156 COUT(2) << "Warning: Could not open logfile." << std::endl;156 orxout(internal_warning) << "Could not open logfile." << endl; 157 157 #endif 158 158 } … … 185 185 for( it = this->hist_buffer.begin(); it != this->hist_buffer.end(); 186 186 ++it ) 187 std::cout << *it << std::endl;187 orxout(debug_output) << *it << endl; 188 188 189 189 /* output size */ 190 std::cout << "Size: " << hist_buffer.size() << std::endl;190 orxout(debug_output) << "Size: " << hist_buffer.size() << endl; 191 191 } 192 192
Note: See TracChangeset
for help on using the changeset viewer.