Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2007, 3:20:46 AM (16 years ago)
Author:
landauf
Message:
  • changed output from std::cout to COUT(level)
  • added SoftDebugLevel config-variable (its a hack, but it works fine)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/core/Error.cc

    r513 r560  
    2727
    2828#include "Error.h"
     29#include "Debug.h"
    2930
    3031namespace orxonox
     
    4243        Error::Error(int errorCode, std::string errorMsg)
    4344        {
    44                 std::cout << "############################ "<< std::endl
     45                COUT(1) << "############################ "<< std::endl
    4546                                                        << "#         Error "<<errorCode<< "          #"<< std::endl
    4647                                                        << "############################ "<< std::endl
     
    5859                        }
    5960                }
    60                 std::cout << errorMsg << std::endl<< std::endl;
     61                COUT(1) << errorMsg << std::endl<< std::endl;
    6162        }
    6263}
Note: See TracChangeset for help on using the changeset viewer.