comparison Framework/Plugins/PluginInitialization.cpp @ 260:793bbbe11287

IDatabaseBackend::HasRevisionsSupport()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 Apr 2021 16:45:15 +0200
parents 3236894320d6
children 16aac0287485
comparison
equal deleted inserted replaced
259:93a6efd7d8e5 260:793bbbe11287
48 #if ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 7, 2) 48 #if ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 7, 2)
49 Orthanc::Logging::InitializePluginContext(context); 49 Orthanc::Logging::InitializePluginContext(context);
50 #else 50 #else
51 Orthanc::Logging::Initialize(context); 51 Orthanc::Logging::Initialize(context);
52 #endif 52 #endif
53 53
54 Orthanc::Logging::EnableInfoLevel(true);
54 OrthancPlugins::SetGlobalContext(context); 55 OrthancPlugins::SetGlobalContext(context);
55 ImplicitTransaction::SetErrorOnDoubleExecution(false); 56 ImplicitTransaction::SetErrorOnDoubleExecution(false);
56 57
57 assert(DisplayPerformanceWarning(dbms, isIndex)); 58 assert(DisplayPerformanceWarning(dbms, isIndex));
58 59