diff Framework/Messages/IObserver.h @ 991:92a043b8e431

removed logs from IObserver constructor
author Alain Mazy <alain@mazy.be>
date Wed, 11 Sep 2019 12:15:21 +0200
parents 262a0244e9b2
children f6be9412e42a
line wrap: on
line diff
--- a/Framework/Messages/IObserver.h	Wed Sep 11 10:43:21 2019 +0200
+++ b/Framework/Messages/IObserver.h	Wed Sep 11 12:15:21 2019 +0200
@@ -45,10 +45,7 @@
       // remember this is panic-level code to track zombie object usage
       std::string fingerprint = Orthanc::Toolbox::GenerateUuid();
       const char* fingerprintRaw = fingerprint.c_str();
-      ORTHANC_ASSERT(strlen(fingerprintRaw) == 36);
-      ORTHANC_ASSERT(fingerprintRaw[36] == 0);
       memcpy(fingerprint_, fingerprintRaw, 37);
-      LOG(TRACE) << "IObserver(" << std::hex << this << std::dec << ")::IObserver : fingerprint_ == " << fingerprint_;
       broker_.Register(*this);
     }