Index: code/branches/output/src/modules/objects/ForceField.cc
===================================================================
--- code/branches/output/src/modules/objects/ForceField.cc	(revision 8739)
+++ code/branches/output/src/modules/objects/ForceField.cc	(revision 8811)
@@ -216,5 +216,5 @@
         else
         {
-            COUT(2) << "Wrong mode '" << mode << "' in ForceField. Setting to 'tube'." << std::endl;
+            orxout(internal_warning) << "Wrong mode '" << mode << "' in ForceField. Setting to 'tube'." << endl;
             this->mode_ = forceFieldMode::tube;
         }
Index: code/branches/output/src/modules/objects/Planet.cc
===================================================================
--- code/branches/output/src/modules/objects/Planet.cc	(revision 8739)
+++ code/branches/output/src/modules/objects/Planet.cc	(revision 8811)
@@ -73,5 +73,5 @@
             {
                 float distance = this->getPosition().distance( activeCamera->getWorldPosition() );
-                //             COUT(2) << distance << std::endl;
+                //             orxout(internal_warning) << distance << endl;
                 float planetRadius = this->getScale();
 
Index: code/branches/output/src/modules/objects/Script.cc
===================================================================
--- code/branches/output/src/modules/objects/Script.cc	(revision 8739)
+++ code/branches/output/src/modules/objects/Script.cc	(revision 8811)
@@ -137,5 +137,5 @@
             return false;
 
-        COUT(4) << "Script (&" << this << ") triggered." << std::endl;
+        orxout(internal_info) << "Script (&" << this << ") triggered." << endl;
 
         PlayerTrigger* pTrigger = orxonox_cast<PlayerTrigger*>(trigger);
@@ -155,5 +155,5 @@
         if(player == NULL)  //TODO: Will this ever happen? If not, change in NotificationDispatcher as well.
         {
-            COUT(4) << "The Script was triggered by an entity other than a Pawn. (" << trigger->getIdentifier()->getName() << ")" << std::endl;
+            orxout(internal_warning) << "The Script was triggered by an entity other than a Pawn. (" << trigger->getIdentifier()->getName() << ")" << endl;
             return false;
         }
@@ -272,5 +272,5 @@
         else
         {
-            COUT(2) << "Invalid mode '" << mode << "' in Script object. Setting to 'normal'." << std::endl;
+            orxout(internal_warning) << "Invalid mode '" << mode << "' in Script object. Setting to 'normal'." << endl;
             this->setMode(ScriptMode::normal);
             this->modeStr_ = Script::NORMAL;
@@ -323,5 +323,5 @@
         else
         {
-            COUT(2) << "Invalid times '" << times << "' in Script. Setting to infinity." << std::endl;
+            orxout(internal_warning) << "Invalid times '" << times << "' in Script. Setting to infinity." << endl;
             this->times_ = Script::INF;
             this->remainingExecutions_ = Script::INF;
Index: code/branches/output/src/modules/objects/SpaceBoundaries.cc
===================================================================
--- code/branches/output/src/modules/objects/SpaceBoundaries.cc	(revision 8739)
+++ code/branches/output/src/modules/objects/SpaceBoundaries.cc	(revision 8811)
@@ -215,5 +215,5 @@
                 distance = this->computeDistance(currentPawn);
                 humanItem = this->isHumanPlayer(currentPawn);
-                COUT(5) << "Distance:" << distance << std::endl; // message for debugging
+//                orxout() << "Distance:" << distance << endl; // message for debugging
                 if(distance > this->warnDistance_ && distance < this->maxDistance_) // Display warning
                 {
@@ -231,5 +231,5 @@
                     if( humanItem )
                     {
-                        COUT(5) << "Health should be decreasing!" << std::endl;
+//                        orxout() << "Health should be decreasing!" << endl;
                         this->displayWarning("You are out of the area now!");
                     }
Index: code/branches/output/src/modules/objects/collisionshapes/BoxCollisionShape.cc
===================================================================
--- code/branches/output/src/modules/objects/collisionshapes/BoxCollisionShape.cc	(revision 8739)
+++ code/branches/output/src/modules/objects/collisionshapes/BoxCollisionShape.cc	(revision 8811)
@@ -93,5 +93,5 @@
         if(!this->hasUniformScaling())
         {
-            CCOUT(1) << "Error: Non-uniform scaling is not yet supported." << endl;
+            orxout(internal_error) << "BoxCollisionShape: Non-uniform scaling is not yet supported." << endl;
             return;
         }
Index: code/branches/output/src/modules/objects/collisionshapes/ConeCollisionShape.cc
===================================================================
--- code/branches/output/src/modules/objects/collisionshapes/ConeCollisionShape.cc	(revision 8739)
+++ code/branches/output/src/modules/objects/collisionshapes/ConeCollisionShape.cc	(revision 8811)
@@ -92,5 +92,5 @@
         if(!this->hasUniformScaling())
         {
-            CCOUT(1) << "Error: Non-uniform scaling is not yet supported." << endl;
+            orxout(internal_error) << "ConeCollisionShape: Non-uniform scaling is not yet supported." << endl;
             return;
         }
Index: code/branches/output/src/modules/objects/collisionshapes/PlaneCollisionShape.cc
===================================================================
--- code/branches/output/src/modules/objects/collisionshapes/PlaneCollisionShape.cc	(revision 8739)
+++ code/branches/output/src/modules/objects/collisionshapes/PlaneCollisionShape.cc	(revision 8811)
@@ -92,5 +92,5 @@
         if(!this->hasUniformScaling())
         {
-            CCOUT(1) << "Error: Non-uniform scaling is not yet supported." << endl;
+            orxout(internal_error) << "PlaneCollisionShape: Non-uniform scaling is not yet supported." << endl;
             return;
         }
Index: code/branches/output/src/modules/objects/collisionshapes/SphereCollisionShape.cc
===================================================================
--- code/branches/output/src/modules/objects/collisionshapes/SphereCollisionShape.cc	(revision 8739)
+++ code/branches/output/src/modules/objects/collisionshapes/SphereCollisionShape.cc	(revision 8811)
@@ -89,5 +89,5 @@
         if(!this->hasUniformScaling())
         {
-            CCOUT(1) << "Error: Non-uniform scaling is not yet supported." << endl;
+            orxout(internal_error) << "SphereCollisionShape: Non-uniform scaling is not yet supported." << endl;
             return;
         }
Index: code/branches/output/src/modules/objects/eventsystem/EventFilter.cc
===================================================================
--- code/branches/output/src/modules/objects/eventsystem/EventFilter.cc	(revision 8739)
+++ code/branches/output/src/modules/objects/eventsystem/EventFilter.cc	(revision 8811)
@@ -63,5 +63,5 @@
         if (this->bActive_)
         {
-            COUT(2) << "Warning: Detected Event loop in EventFilter \"" << this->getName() << '"' << std::endl;
+            orxout(internal_warning, context::events) << "Detected Event loop in EventFilter \"" << this->getName() << '"' << endl;
             return;
         }
Index: code/branches/output/src/modules/objects/eventsystem/EventListener.cc
===================================================================
--- code/branches/output/src/modules/objects/eventsystem/EventListener.cc	(revision 8739)
+++ code/branches/output/src/modules/objects/eventsystem/EventListener.cc	(revision 8811)
@@ -59,9 +59,9 @@
         if (this->bActive_)
         {
-            COUT(2) << "Warning: Detected Event loop in EventListener \"" << this->getName() << '"' << std::endl;
+            orxout(internal_warning, context::events) << "Detected Event loop in EventListener \"" << this->getName() << '"' << endl;
             return;
         }
 
-        COUT(4) << "EventListener, processing event: originator: " << event.originator_->getIdentifier()->getName() << " (&" << event.originator_ << ")" << ", activate: " << event.activate_ << ", name: " << event.name_ << std::endl;
+        orxout(verbose, context::events) << "EventListener, processing event: originator: " << event.originator_->getIdentifier()->getName() << " (&" << event.originator_ << ")" << ", activate: " << event.activate_ << ", name: " << event.name_ << endl;
 
         this->bActive_ = true;
Index: code/branches/output/src/modules/objects/eventsystem/EventTarget.cc
===================================================================
--- code/branches/output/src/modules/objects/eventsystem/EventTarget.cc	(revision 8739)
+++ code/branches/output/src/modules/objects/eventsystem/EventTarget.cc	(revision 8811)
@@ -60,5 +60,5 @@
         if (this->bActive_)
         {
-            COUT(2) << "Warning: Detected Event loop in EventTarget \"" << this->getName() << '"' << std::endl;
+            orxout(internal_warning, context::events) << "Detected Event loop in EventTarget \"" << this->getName() << '"' << endl;
             return;
         }
Index: code/branches/output/src/modules/objects/triggers/DistanceMultiTrigger.cc
===================================================================
--- code/branches/output/src/modules/objects/triggers/DistanceMultiTrigger.cc	(revision 8739)
+++ code/branches/output/src/modules/objects/triggers/DistanceMultiTrigger.cc	(revision 8811)
@@ -247,5 +247,5 @@
             this->setBeaconModeDirect(distanceMultiTriggerBeaconMode::exclude);
         else
-            COUT(1) << "Invalid beacon mode in DistanceMultiTrigger." << endl;
+            orxout(internal_error, context::triggers) << "Invalid beacon mode in DistanceMultiTrigger." << endl;
     }
 
Index: code/branches/output/src/modules/objects/triggers/DistanceTrigger.cc
===================================================================
--- code/branches/output/src/modules/objects/triggers/DistanceTrigger.cc	(revision 8739)
+++ code/branches/output/src/modules/objects/triggers/DistanceTrigger.cc	(revision 8811)
@@ -108,5 +108,5 @@
         if (targetId == NULL)
         {
-            COUT(1) << "Error: \"" << targetStr << "\" is not a valid class name to include in ClassTreeMask (in " << this->getName() << ", class " << this->getIdentifier()->getName() << ')' << std::endl;
+            orxout(internal_error, context::triggers) << "\"" << targetStr << "\" is not a valid class name to include in ClassTreeMask (in " << this->getName() << ", class " << this->getIdentifier()->getName() << ')' << endl;
             return;
         }
@@ -209,5 +209,5 @@
                         this->setTriggeringPawn(pawn);
                     else
-                        CCOUT(2) << "Pawn was NULL." << endl;
+                        orxout(internal_warning, context::triggers) << "Pawn was NULL." << endl;
                 }
                 
@@ -270,5 +270,5 @@
             this->setBeaconModeDirect(distanceTriggerBeaconMode::exclude);
         else
-            COUT(1) << "Invalid beacon mode in DistanceTrigger." << endl;
+            orxout(internal_error, context::triggers) << "Invalid beacon mode in DistanceTrigger." << endl;
     }
 
Index: code/branches/output/src/modules/objects/triggers/MultiTrigger.cc
===================================================================
--- code/branches/output/src/modules/objects/triggers/MultiTrigger.cc	(revision 8739)
+++ code/branches/output/src/modules/objects/triggers/MultiTrigger.cc	(revision 8811)
@@ -72,5 +72,5 @@
     MultiTrigger::~MultiTrigger()
     {
-        COUT(4) << "Destroying MultiTrigger &" << this << ". " << this->stateQueue_.size() << " states still in queue. Deleting." << std::endl;
+        orxout(verbose, context::triggers) << "Destroying MultiTrigger &" << this << ". " << this->stateQueue_.size() << " states still in queue. Deleting." << endl;
         while(this->stateQueue_.size() > 0)
         {
@@ -94,5 +94,5 @@
         XMLPortParamLoadOnly(MultiTrigger, "target", addTarget, xmlelement, mode).defaultValues("Pawn"); //TODO: Remove load only
 
-        COUT(4) << "MultiTrigger '" << this->getName() << "' (&" << this << ") created." << std::endl;
+        orxout(verbose, context::triggers) << "MultiTrigger '" << this->getName() << "' (&" << this << ") created." << endl;
     }
 
@@ -132,5 +132,5 @@
                 if(state == NULL)
                 {
-                    COUT(1) << "In MultiTrigger '" << this->getName() << "' (&" << this << "), Error: State of new states queue was NULL. State ignored." << std::endl;
+                    orxout(internal_error, context::triggers) << "In MultiTrigger '" << this->getName() << "' (&" << this << "), Error: State of new states queue was NULL. State ignored." << endl;
                     queue->pop();
                     continue;
@@ -241,7 +241,7 @@
                             // Print some debug output if the state has changed.
                             if(state->originator != NULL)
-                                COUT(4) << "MultiTrigger '" << this->getName() << "' (&" << this << ") changed state. originator: " << state->originator->getIdentifier()->getName() << " (&" << state->originator << "), active: " << bActive << ", triggered: " << state->bTriggered << "." << std::endl;
+                                orxout(verbose, context::triggers) << "MultiTrigger '" << this->getName() << "' (&" << this << ") changed state. originator: " << state->originator->getIdentifier()->getName() << " (&" << state->originator << "), active: " << bActive << ", triggered: " << state->bTriggered << "." << endl;
                             else
-                                COUT(4) << "MultiTrigger '" << this->getName() << "' (&" << this << ") changed state. originator: NULL, active: " << bActive << ", triggered: " << state->bTriggered << "." << std::endl;
+                                orxout(verbose, context::triggers) << "MultiTrigger '" << this->getName() << "' (&" << this << ") changed state. originator: NULL, active: " << bActive << ", triggered: " << state->bTriggered << "." << endl;
 
                             // If the MultiTrigger has a parent trigger, that is itself a MultiTrigger, it needs to call a method to notify him, that its activity has changed.
@@ -254,5 +254,5 @@
                         {
                             this->BaseObject::setActive(false);
-                            COUT(4) << "MultiTrigger '" << this->getName() << "' (&" << this << ") ran out of activations. Setting it to inactive." << std::endl;
+                            orxout(verbose, context::triggers) << "MultiTrigger '" << this->getName() << "' (&" << this << ") ran out of activations. Setting it to inactive." << endl;
                         }
                     }
@@ -301,5 +301,5 @@
         if (target == NULL)
         {
-            COUT(1) << "Error: '" << targetStr << "' is not a valid class name to include in ClassTreeMask (in " << this->getName() << ", class " << this->getIdentifier()->getName() << ")" << std::endl;
+            orxout(internal_error, context::triggers) << "'" << targetStr << "' is not a valid class name to include in ClassTreeMask (in " << this->getName() << ", class " << this->getIdentifier()->getName() << ")" << endl;
             return;
         }
@@ -329,5 +329,5 @@
         if (target == NULL)
         {
-            COUT(1) << "Error: '" << targetStr << "' is not a valid class name to include in ClassTreeMask (in " << this->getName() << ", class " << this->getIdentifier()->getName() << ")" << std::endl;
+            orxout(internal_error, context::triggers) << "'" << targetStr << "' is not a valid class name to include in ClassTreeMask (in " << this->getName() << ", class " << this->getIdentifier()->getName() << ")" << endl;
             return;
         }
@@ -447,5 +447,5 @@
         {
             this->fireEvent(status);
-            COUT(4) << "MultiTrigger '" <<  this->getName() << "' (&" << this << "): Fired event. status: " << status << "." << std::endl;
+            orxout(verbose, context::triggers) << "MultiTrigger '" <<  this->getName() << "' (&" << this << "): Fired event. status: " << status << "." << endl;
             return;
         }
@@ -453,5 +453,5 @@
         MultiTriggerContainer* container = new MultiTriggerContainer(this, this, originator);
         this->fireEvent(status, container);
-        COUT(4) << "MultiTrigger '" <<  this->getName() << "' (&" << this << "): Fired event. originator: " << originator->getIdentifier()->getName() << " (&" << originator << "), status: " << status << "." << std::endl;
+        orxout(verbose, context::triggers) << "MultiTrigger '" <<  this->getName() << "' (&" << this << "): Fired event. originator: " << originator->getIdentifier()->getName() << " (&" << originator << "), status: " << status << "." << endl;
         delete container;
     }
Index: code/branches/output/src/modules/objects/triggers/TriggerBase.cc
===================================================================
--- code/branches/output/src/modules/objects/triggers/TriggerBase.cc	(revision 8739)
+++ code/branches/output/src/modules/objects/triggers/TriggerBase.cc	(revision 8811)
@@ -128,5 +128,5 @@
             this->setMode(TriggerMode::EventTriggerXOR);
         else
-            COUT(2) << "Invalid mode '" << modeName << "' in TriggerBase " << this->getName() << " &(" << this << "). Leaving mode at '" << this->getModeString() << "'." << std::endl;
+            orxout(internal_warning, context::triggers) << "Invalid mode '" << modeName << "' in TriggerBase " << this->getName() << " &(" << this << "). Leaving mode at '" << this->getModeString() << "'." << endl;
     }
 
