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/orxonox.cc

    r546 r560  
    5656#include "core/ArgReader.h"
    5757#include "core/Factory.h"
     58#include "core/Debug.h"
    5859
    5960#include "../loader/LevelLoader.h"
     
    310311      if(ogre_ && ogre_->getRoot())
    311312        ogre_->getRoot()->addFrameListener(new network::ServerFrameListener()); // adds a framelistener for the server
    312       std::cout << "network framelistener added" << std::endl;
     313      COUT(3) << "Info: network framelistener added" << std::endl;
    313314    }
    314315    catch(exception &e)
    315316    {
    316       std::cout << "There was a problem initialising the server :(" << std::endl;
     317      COUT(1) << "Error: There was a problem initialising the server :(" << std::endl;
    317318    }
    318319    startRenderLoop();
Note: See TracChangeset for help on using the changeset viewer.