Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
4272:1661544ea94d | 4273:0034f855c023 |
---|---|
32 | 32 |
33 | 33 |
34 #pragma once | 34 #pragma once |
35 | 35 |
36 #include "../../OrthancFramework/Sources/FileStorage/IStorageArea.h" | 36 #include "../../OrthancFramework/Sources/FileStorage/IStorageArea.h" |
37 #include "../../OrthancFramework/Sources/Logging.h" | |
37 #include "Database/IDatabaseWrapper.h" | 38 #include "Database/IDatabaseWrapper.h" |
38 | 39 |
39 namespace Orthanc | 40 namespace Orthanc |
40 { | 41 { |
41 void OrthancInitialize(const char* configurationFile = NULL); | 42 void OrthancInitialize(const char* configurationFile = NULL); |
43 void OrthancFinalize(); | 44 void OrthancFinalize(); |
44 | 45 |
45 IDatabaseWrapper* CreateDatabaseWrapper(); | 46 IDatabaseWrapper* CreateDatabaseWrapper(); |
46 | 47 |
47 IStorageArea* CreateStorageArea(); | 48 IStorageArea* CreateStorageArea(); |
49 | |
50 void SetGlobalVerbosity(Verbosity verbosity); | |
51 | |
52 Verbosity GetGlobalVerbosity(); | |
53 | |
54 void SetCategoryVerbosity(Logging::LogCategory category, | |
55 Verbosity verbosity); | |
56 | |
57 Verbosity GetCategoryVerbosity(Logging::LogCategory category); | |
48 } | 58 } |