Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
dynamic-graph
Commits
7f125ad8
Commit
7f125ad8
authored
Jan 29, 2019
by
Joseph Mirabel
Committed by
olivier stasse
Jan 30, 2019
Browse files
Clean code.
parent
0e6d4e5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/dynamic-graph/logger.h
View file @
7f125ad8
...
...
@@ -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
...
...
src/debug/logger.cpp
View file @
7f125ad8
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment