comparison OrthancFramework/Sources/Logging.h @ 4275:d7a50b7b8466

Dynamically access and/or change the verbosity of logging categories with the REST API
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 03 Nov 2020 14:41:27 +0100
parents 0034f855c023
children 0923247e69f6
comparison
equal deleted inserted replaced
4274:09ed936fd381 4275:d7a50b7b8466
98 LogCategory category); 98 LogCategory category);
99 99
100 ORTHANC_PUBLIC bool LookupCategory(LogCategory& target, 100 ORTHANC_PUBLIC bool LookupCategory(LogCategory& target,
101 const std::string& category); 101 const std::string& category);
102 102
103 ORTHANC_PUBLIC size_t GetCategoriesCount(); 103 ORTHANC_PUBLIC unsigned int GetCategoriesCount();
104 104
105 ORTHANC_PUBLIC const char* GetCategoryName(size_t i); 105 ORTHANC_PUBLIC const char* GetCategoryName(unsigned int i);
106
107 ORTHANC_PUBLIC const char* GetCategoryName(LogCategory category);
106 108
107 ORTHANC_PUBLIC void SetTargetFile(const std::string& path); 109 ORTHANC_PUBLIC void SetTargetFile(const std::string& path);
108 110
109 ORTHANC_PUBLIC void SetTargetFolder(const std::string& path); 111 ORTHANC_PUBLIC void SetTargetFolder(const std::string& path);
110 112