Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic-graph
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Olivier Stasse
dynamic-graph
Commits
7f125ad8
Commit
7f125ad8
authored
6 years ago
by
Joseph Mirabel
Committed by
olivier stasse
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Clean code.
parent
0e6d4e5f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/dynamic-graph/logger.h
+0
-1
0 additions, 1 deletion
include/dynamic-graph/logger.h
src/debug/logger.cpp
+0
-6
0 additions, 6 deletions
src/debug/logger.cpp
with
0 additions
and
7 deletions
include/dynamic-graph/logger.h
+
0
−
1
View file @
7f125ad8
...
@@ -166,7 +166,6 @@ namespace dynamicgraph {
...
@@ -166,7 +166,6 @@ namespace dynamicgraph {
LoggerVerbosity
getVerbosity
();
LoggerVerbosity
getVerbosity
();
protected:
protected:
std
::
ofstream
m_output_fstream
;
/// Output File Stream
LoggerVerbosity
m_lv
;
/// verbosity of the logger
LoggerVerbosity
m_lv
;
/// verbosity of the logger
double
m_timeSample
;
/// specify the period of call of the countdown method
double
m_timeSample
;
/// specify the period of call of the countdown method
double
m_streamPrintPeriod
;
/// specify the time period of the stream prints
double
m_streamPrintPeriod
;
/// specify the time period of the stream prints
...
...
This diff is collapsed.
Click to expand it.
src/debug/logger.cpp
+
0
−
6
View file @
7f125ad8
...
@@ -32,14 +32,10 @@ namespace dynamicgraph
...
@@ -32,14 +32,10 @@ namespace dynamicgraph
m_printCountdown
(
0.0
)
m_printCountdown
(
0.0
)
{
{
m_lv
=
VERBOSITY_ERROR
;
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
()
Logger
::~
Logger
()
{
{
//m_output_fstream.close();
}
}
void
Logger
::
setVerbosity
(
LoggerVerbosity
lv
)
void
Logger
::
setVerbosity
(
LoggerVerbosity
lv
)
...
@@ -89,9 +85,7 @@ namespace dynamicgraph
...
@@ -89,9 +85,7 @@ namespace dynamicgraph
else
// otherwise reset counter and print
else
// otherwise reset counter and print
it
->
second
=
m_streamPrintPeriod
;
it
->
second
=
m_streamPrintPeriod
;
}
}
// std::cout << msg.c_str() << std::endl;
dgRTLOG
()
<<
msg
.
c_str
()
<<
"
\n
"
;
dgRTLOG
()
<<
msg
.
c_str
()
<<
"
\n
"
;
//m_output_fstream.flush();
}
}
bool
Logger
::
setTimeSample
(
double
t
)
bool
Logger
::
setTimeSample
(
double
t
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment