Mercurial > hg > orthanc
diff OrthancServer/Sources/OrthancInitialization.h @ 4273:0034f855c023
tuning log categories from command-line, and binary compat with orthanc framework 1.7.2
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 03 Nov 2020 12:24:50 +0100 |
parents | 05b8fd21089c |
children | d9473bd5ed43 |
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancInitialization.h Tue Nov 03 07:19:33 2020 +0100 +++ b/OrthancServer/Sources/OrthancInitialization.h Tue Nov 03 12:24:50 2020 +0100 @@ -34,6 +34,7 @@ #pragma once #include "../../OrthancFramework/Sources/FileStorage/IStorageArea.h" +#include "../../OrthancFramework/Sources/Logging.h" #include "Database/IDatabaseWrapper.h" namespace Orthanc @@ -45,4 +46,13 @@ IDatabaseWrapper* CreateDatabaseWrapper(); IStorageArea* CreateStorageArea(); + + void SetGlobalVerbosity(Verbosity verbosity); + + Verbosity GetGlobalVerbosity(); + + void SetCategoryVerbosity(Logging::LogCategory category, + Verbosity verbosity); + + Verbosity GetCategoryVerbosity(Logging::LogCategory category); }