Skip to content

Commit

Permalink
Revert "ULogger console: using std::cerr by default to avoid ROS2 def…
Browse files Browse the repository at this point in the history
…ault buffering on cout/printf."

This reverts commit 3eda219.
  • Loading branch information
matlabbe committed Nov 30, 2024
1 parent 3eda219 commit ca87704
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utilite/src/ULogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include <fstream>
#include <string>
#include <string.h>
#include <iostream>

#ifndef _WIN32
#include <sys/time.h>
Expand Down Expand Up @@ -94,7 +93,7 @@ public :
}
virtual void _writeStr(const char* msg)
{
std::cerr << msg;
printf("%s", msg);
}
};

Expand Down

0 comments on commit ca87704

Please sign in to comment.