Skip to content

Commit 483a2b9

Browse files
Minor fix. Remove trailing whitespace
1 parent b605074 commit 483a2b9

File tree

3 files changed

+12
-16
lines changed

3 files changed

+12
-16
lines changed

doc/additionalDoc/debug-logger.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/**
22
\page subp_logger Loggers
33
44
\section sec_logger Initialization of the logger
@@ -17,12 +17,12 @@ In order to activate the logger you need to add the following lines:
1717
It is possible to set the output stream of the messages inside a file:
1818
\code
1919
dynamicgraph::RealTimeLogger::instance();
20-
of.open("/tmp/dg-LOGS.txt",std::ofstream::out|std::ofstream::app);
20+
of.open("/tmp/dg-LOGS.txt",std::ofstream::out|std::ofstream::app);
2121
dgADD_OSTREAM_TO_RTLOG (of);
22-
22+
2323
dynamicgraph::RealTimeLogger::destroy();
2424
\endcode
25-
Here the file is "/tmp/dg-LOGS.txt".
25+
Here the file is "/tmp/dg-LOGS.txt".
2626
2727
\subsection subsec_logger_init Initialization of the logger
2828

tests/debug-logger-winit.cpp

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ namespace dynamicgraph
4343
LoggerVerbosity alv = logger_.getVerbosity();
4444
BOOST_CHECK(alv==VERBOSITY_ALL);
4545
}
46-
46+
4747
~CustomEntity()
4848
{
4949
}
@@ -69,11 +69,11 @@ BOOST_AUTO_TEST_CASE(debug_logger_wrong_initialization)
6969
{
7070
std::ofstream of;
7171
dynamicgraph::RealTimeLogger::instance();
72-
//of.open("/tmp/dg-LOGS.txt",std::ofstream::out|std::ofstream::app);
72+
//of.open("/tmp/dg-LOGS.txt",std::ofstream::out|std::ofstream::app);
7373
// dgADD_OSTREAM_TO_RTLOG (of);
74-
74+
7575
BOOST_CHECK_EQUAL (dynamicgraph::CustomEntity::CLASS_NAME, "CustomEntity");
76-
76+
7777
dynamicgraph::CustomEntity& entity = *(dynamic_cast<dynamicgraph::CustomEntity *>(
7878
dynamicgraph::FactoryStorage::getInstance()->newEntity("CustomEntity",
7979
"my-entity-2")));
@@ -85,5 +85,3 @@ BOOST_AUTO_TEST_CASE(debug_logger_wrong_initialization)
8585

8686
dynamicgraph::RealTimeLogger::destroy();
8787
}
88-
89-

tests/debug-logger.cpp

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ namespace dynamicgraph
4343
LoggerVerbosity alv = logger_.getVerbosity();
4444
BOOST_CHECK(alv==VERBOSITY_ALL);
4545
}
46-
46+
4747
~CustomEntity()
4848
{
4949
}
@@ -69,11 +69,11 @@ BOOST_AUTO_TEST_CASE(debug_logger)
6969
{
7070
std::ofstream of;
7171
dynamicgraph::RealTimeLogger::instance();
72-
of.open("/tmp/dg-LOGS.txt",std::ofstream::out|std::ofstream::app);
72+
of.open("/tmp/dg-LOGS.txt",std::ofstream::out|std::ofstream::app);
7373
dgADD_OSTREAM_TO_RTLOG (of);
74-
74+
7575
BOOST_CHECK_EQUAL (dynamicgraph::CustomEntity::CLASS_NAME, "CustomEntity");
76-
76+
7777
dynamicgraph::CustomEntity& entity = *(dynamic_cast<dynamicgraph::CustomEntity *>(
7878
dynamicgraph::FactoryStorage::getInstance()->newEntity("CustomEntity",
7979
"my-entity")));
@@ -85,5 +85,3 @@ BOOST_AUTO_TEST_CASE(debug_logger)
8585

8686
dynamicgraph::RealTimeLogger::destroy();
8787
}
88-
89-

0 commit comments

Comments
 (0)