DicomWebStorge/Orthanc-1.7.4/OrthancFramework/Sources/Logging.cpp
// "loggingStreamsMutex_" must be locked
"loggingStreamsMutex_" must be locked
" loggingStreamsMutex_ " must be locked
static void CheckFile(std::unique_ptr<std::ofstream>& f)
    {
      if (loggingStreamsContext_->file_.get() == NULL ||
          !loggingStreamsContext_->file_->is_open())
      {
        throw OrthancException(ErrorCode_CannotWriteFile);
      }
    }
static void CheckFile ( std :: unique_ptr < std :: ofstream > & f ) { if ( loggingStreamsContext_ -> file_ . get ( ) == NULL || ! loggingStreamsContext_ -> file_ -> is_open ( ) ) { throw OrthancException ( ErrorCode_CannotWriteFile ) ; } }
"loggingStreamsMutex_" must be locked
" loggingStreamsMutex_ " must be locked