Changeset 890 for trunk/src/SDLog.cc


Ignore:
Timestamp:
03/08/06 13:32:27 (18 years ago)
Author:
mar637
Message:

asap2 naming changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDLog.cc

    r883 r890  
    33using namespace asap;
    44
    5 std::string SDLog::log_ = std::string("");
     5std::string Logger::log_ = std::string("");
    66
    7 SDLog::SDLog()
     7Logger::Logger()
    88{
    99  enableLog();
    1010}
    1111
    12 SDLog::SDLog(bool enabled)
     12Logger::Logger(bool enabled)
    1313{
    1414  enabled_ = enabled;
    1515}
    1616
    17 void SDLog::pushLog(const std::string& s, bool newline ) const
     17void Logger::pushLog(const std::string& s, bool newline ) const
    1818{
    1919  if (enabled_) {
     
    2222  };
    2323}
    24 std::string SDLog::popLog() const
     24std::string Logger::popLog() const
    2525{
    2626  std::string out;
     
    2828  return out;
    2929}
    30 void SDLog::enableLog()
     30void Logger::enableLog()
    3131{
    3232  enabled_ = true;
    3333}
    34 void SDLog::disableLog()
     34void Logger::disableLog()
    3535{
    3636  enabled_ = false;
Note: See TracChangeset for help on using the changeset viewer.