mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 20:37:15 +02:00
added std::flush
This commit is contained in:
@ -43,4 +43,5 @@ int main() {
|
||||
LOG(logINFOBLUE) << "some infoBLUE text";
|
||||
LOG(logINFOGREEN) << "some infoGREEN text";
|
||||
LOG(logINFORED) << "some infoRED text";
|
||||
|
||||
}
|
@ -22,7 +22,7 @@ class Logger {
|
||||
~Logger() {
|
||||
// output in the destructor to allow for << syntax
|
||||
os << RESET << '\n';
|
||||
std::clog << os.str(); // Single write
|
||||
std::clog << os.str() << std::flush; // Single write
|
||||
}
|
||||
|
||||
static TLogLevel &ReportingLevel() { // singelton eeh
|
||||
|
Reference in New Issue
Block a user