comparison OrthancFramework/Sources/Logging.cpp @ 5031:eec3e4a91663 delayed-deletion

DelayedDeletion plugin: first version
author Alain Mazy <am@osimis.io>
date Tue, 21 Jun 2022 17:29:36 +0200
parents 43e613a7756b
children 0ea402b4d901
comparison
equal deleted inserted replaced
5030:d6ed4c73c719 5031:eec3e4a91663
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 {