Commit 7f125ad8 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by olivier stasse
Browse files

Clean code.

parent 0e6d4e5f
......@@ -166,7 +166,6 @@ namespace dynamicgraph {
LoggerVerbosity getVerbosity();
protected:
std::ofstream m_output_fstream; /// Output File Stream
LoggerVerbosity m_lv; /// verbosity of the logger
double m_timeSample; /// specify the period of call of the countdown method
double m_streamPrintPeriod; /// specify the time period of the stream prints
......
......@@ -32,14 +32,10 @@ namespace dynamicgraph
m_printCountdown(0.0)
{
m_lv = VERBOSITY_ERROR;
// m_output_fstream.open("/tmp/dg-LOGS.txt",std::ofstream::out|std::ofstream::app);
//dgADD_OSTREAM_TO_RTLOG(m_output_fstream);
}
Logger::~Logger()
{
//m_output_fstream.close();
}
void Logger::setVerbosity(LoggerVerbosity lv)
......@@ -89,9 +85,7 @@ namespace dynamicgraph
else // otherwise reset counter and print
it->second = m_streamPrintPeriod;
}
// std::cout << msg.c_str() << std::endl;
dgRTLOG() << msg.c_str() << "\n";
//m_output_fstream.flush();
}
bool Logger::setTimeSample(double t)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment