Mercurial > hg > orthanc
comparison Core/Logging.cpp @ 3469:a5e225eac0a9
logging on windows: all logs actually contained CR.CR.LF -> removed one CR. It seems that iostream already converts \n to \r\n on Windows systems
author | amazy |
---|---|
date | Thu, 11 Jul 2019 11:48:54 +0200 |
parents | b0b5852622e4 |
children | a4f2354f04c3 |
comparison
equal
deleted
inserted
replaced
3465:3f1f9039861b | 3469:a5e225eac0a9 |
---|---|
755 | 755 |
756 InternalLogger::~InternalLogger() | 756 InternalLogger::~InternalLogger() |
757 { | 757 { |
758 if (stream_ != &null_) | 758 if (stream_ != &null_) |
759 { | 759 { |
760 #if defined(_WIN32) | |
761 *stream_ << "\r\n"; | |
762 #else | |
763 *stream_ << "\n"; | 760 *stream_ << "\n"; |
764 #endif | |
765 | |
766 stream_->flush(); | 761 stream_->flush(); |
767 } | 762 } |
768 } | 763 } |
769 | 764 |
770 | 765 |