Mercurial > hg > orthanc
comparison Core/Logging.cpp @ 1507:46b2794042d6 Orthanc-0.9.3
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 07 Aug 2015 20:14:26 +0200 |
parents | fbe40117eb21 |
children | 0dba274074eb |
comparison
equal
deleted
inserted
replaced
1504:18518e1f5fb0 | 1507:46b2794042d6 |
---|---|
371 lock_.unlock(); | 371 lock_.unlock(); |
372 } | 372 } |
373 | 373 |
374 (*stream_) << header; | 374 (*stream_) << header; |
375 } | 375 } |
376 | |
377 | |
378 InternalLogger::~InternalLogger() | |
379 { | |
380 if (stream_ != &null_) | |
381 { | |
382 #if defined(_WIN32) | |
383 *stream_ << "\r\n"; | |
384 #else | |
385 *stream_ << "\n"; | |
386 #endif | |
387 | |
388 stream_->flush(); | |
389 } | |
390 } | |
391 | |
392 | |
376 } | 393 } |
377 } | 394 } |
378 | 395 |
379 #endif | 396 #endif |
380 | 397 |