Skip to content
Snippets Groups Projects
Commit 48fdcccd authored by Arafat Nourredine's avatar Arafat Nourredine
Browse files

Mantis 0025482:

-------------------
Use YAT Logging tools (YAT_INFO_STREAM/YAT_VERBOSE_STREAM) instead of std::cout.
parent 46d08e51
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@
#pragma once
#endif // _MSC_VER > 1000
#include <yat/utils/Logging.h>
#include <string>
//using namespace std;
......
......@@ -9,6 +9,7 @@
#pragma once
#endif // _MSC_VER > 1000
#include <yat/utils/Logging.h>
#include <string>
//using namespace std;
#include "Bound.h"
......
......@@ -10,7 +10,7 @@
<groupId>fr.soleil.lib</groupId>
<artifactId>Utils-${aol}-${library}-${mode}</artifactId>
<version>1.2.3-SNAPSHOT</version>
<version>1.2.3</version>
<packaging>nar</packaging>
......@@ -41,6 +41,13 @@
</plugins>
</build>
<dependencies>
<dependency>
<groupId>fr.soleil.lib</groupId>
<artifactId>YAT-${aol}-${library}-${mode}</artifactId>
</dependency>
</dependencies>
<developers>
<developer>
<id>langlois</id>
......
......@@ -127,6 +127,6 @@ bool Bound::isStricklyInBound(double dValue)
void Bound::printInfos()
{
std::cout << "\n##### BOUND " << getName() << " --> [" << getLowerBound() << "," << getUpperBound() << "]" << std::endl;
YAT_VERBOSE_STREAM("\n##### BOUND " << getName() << " --> [" << getLowerBound() << "," << getUpperBound() << "]" << std::endl);
}
......@@ -130,8 +130,8 @@ Bound* Variable::getBound() //// throw (NullPointerException)
//##ModelId=43834ABD029C
void Variable::printInfos()
{
std::cout << "\n##### VARIABLE " << endl;
std::cout << "\tVariable --> " << getName() << " : " << getValue() << std::endl;
YAT_VERBOSE_STREAM("\n##### VARIABLE " << endl);
YAT_VERBOSE_STREAM("\tVariable --> " << getName() << " : " << getValue() << std::endl);
_mBound->printInfos();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment