Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 1, 2011, 4:37:38 PM (13 years ago)
Author:
landauf
Message:

Replaced COUT() with orxout() in tools and orxonox library. Requires quite some fine-tuning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/orxonox/ChatHistory.cc

    r8327 r8809  
    131131    /* output the line to the file if logging is enabled */
    132132    if( this->hist_log_enabled )
    133       this->hist_logfile << toadd << std::endl;
     133      this->hist_logfile << toadd << endl;
    134134    return 0;
    135135  }
     
    154154    { this->hist_log_enabled = false;
    155155#ifndef CHATTEST
    156       COUT(2) << "Warning: Could not open logfile." << std::endl;
     156      orxout(internal_warning) << "Could not open logfile." << endl;
    157157#endif
    158158    }
     
    185185    for( it = this->hist_buffer.begin(); it != this->hist_buffer.end();
    186186      ++it )
    187       std::cout << *it << std::endl;
     187      orxout(debug_output) << *it << endl;
    188188
    189189    /* output size */
    190     std::cout << "Size: " << hist_buffer.size() << std::endl;
     190    orxout(debug_output) << "Size: " << hist_buffer.size() << endl;
    191191  }
    192192
Note: See TracChangeset for help on using the changeset viewer.