Mercurial > hg > orthanc
comparison OrthancFramework/Sources/Logging.cpp @ 5032:a3486b8e5d69
merge
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 21 Jun 2022 17:30:37 +0200 |
parents | eec3e4a91663 |
children | 0ea402b4d901 |
comparison
equal
deleted
inserted
replaced
5028:1ff06e0ea532 | 5032:a3486b8e5d69 |
---|---|
696 assert(sizeof(_OrthancPluginService) == sizeof(int32_t)); | 696 assert(sizeof(_OrthancPluginService) == sizeof(int32_t)); |
697 | 697 |
698 boost::mutex::scoped_lock lock(loggingStreamsMutex_); | 698 boost::mutex::scoped_lock lock(loggingStreamsMutex_); |
699 loggingStreamsContext_.reset(NULL); | 699 loggingStreamsContext_.reset(NULL); |
700 pluginContext_ = reinterpret_cast<OrthancPluginContext*>(pluginContext); | 700 pluginContext_ = reinterpret_cast<OrthancPluginContext*>(pluginContext); |
701 | |
702 EnableInfoLevel(true); // allow the plugin to log at info level (but the Orthanc Core still decides of the level) | |
701 } | 703 } |
702 | 704 |
703 | 705 |
704 void Initialize() | 706 void Initialize() |
705 { | 707 { |