+ if(OutputToFile)
+ return OutputFileStream;
+ else
+ return StandardStream;
+}
+
+void Debug::SendToOutput(unsigned int type,std::string const &msg,const Base *object)
+{
+ bool executed=false;
+ if( type != CMD_DEBUG && type != CMD_ASSERT )
+ executed=CommandManager::ExecuteCommandConst(object,type,msg);
+
+ if(!executed)
+ GetOutput() << Command::GetCommandAsString(type) << ": " << msg;