Skip to content

Commit

Permalink
Fixed logging.
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Pecka <[email protected]>
  • Loading branch information
peci1 committed Jan 4, 2022
1 parent 06192a2 commit 6a2b333
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions examples/config/time.config
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,3 @@
<iterations>true</iterations>
<topic>/world_stats</topic>
</plugin>


4 changes: 2 additions & 2 deletions src/MainWindow.cc
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ void MainWindow::OnStopServer()
{
if (_rep.data() && _result)
{
ignlog << "Simulation server acknowledged to be shut down."
ignmsg << "Simulation server acknowledged to be shut down."
<< std::endl;
}
else
Expand All @@ -221,7 +221,7 @@ void MainWindow::OnStopServer()

if (success)
{
ignlog << "Request to shutdown the simulation server sent. "
ignmsg << "Request to shutdown the simulation server sent. "
"Stopping client now." << std::endl;
}
else
Expand Down

0 comments on commit 6a2b333

Please sign in to comment.