don't use std::cout for log messages

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7051 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4e46bb4f21a10c0ecd10edefe808d266401e4892
Former-commit-id: 633db76181054726ce56faeaa923ece6027aa191
This commit is contained in:
iobyte 2020-05-16 06:43:20 +00:00
parent 529a6f14b9
commit ca55588fe5

View file

@ -18,7 +18,6 @@
#include "MuFactors.h"
#include <fstream>
#include <iostream>
#include <tgf.h>
extern GfLogger* PLogUSR;
@ -98,10 +97,10 @@ double MuFactors::calcMinMuFactor() const
void MuFactors::printMuFactors() const
{
std::cout << "Mu factors:" << std::endl;
LogUSR.info("Mu factors:\n");
for (int i = 0; i < (int)mSect.size(); i++)
for (size_t i = 0; i < mSect.size(); i++)
{
std::cout << "fs " << mSect[i].fromstart << " factor " << mSect[i].mufactor << std::endl;
LogUSR.info("fs %f factor %f\n", mSect[i].fromstart, mSect[i].mufactor);
}
}