Mercurial > hg > orthanc
diff OrthancServer/Plugins/Samples/WebDavFilesystem/Plugin.cpp @ 5572:f0dc99bc811c
removed circular dependency of OrthancPluginsCppWrapper with Orthanc::Logging
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 26 Apr 2024 15:50:01 +0200 |
parents | 48b8dae6dc77 |
children | f7adfb22e20e |
line wrap: on
line diff
--- a/OrthancServer/Plugins/Samples/WebDavFilesystem/Plugin.cpp Fri Apr 26 14:48:11 2024 +0200 +++ b/OrthancServer/Plugins/Samples/WebDavFilesystem/Plugin.cpp Fri Apr 26 15:50:01 2024 +0200 @@ -164,7 +164,7 @@ if (content_.find(name) != content_.end()) { - OrthancPlugins::LogError("Already existing: " + name); + ORTHANC_PLUGINS_LOG_ERROR("Already existing: " + name); ORTHANC_PLUGINS_THROW_EXCEPTION(BadRequest); } else @@ -177,7 +177,7 @@ { if (content_.find(name) != content_.end()) { - OrthancPlugins::LogError("Already existing: " + name); + ORTHANC_PLUGINS_LOG_ERROR("Already existing: " + name); ORTHANC_PLUGINS_THROW_EXCEPTION(BadRequest); } else @@ -192,7 +192,7 @@ if (found == content_.end()) { - OrthancPlugins::LogError("Cannot delete inexistent path: " + name); + ORTHANC_PLUGINS_LOG_ERROR("Cannot delete inexistent path: " + name); ORTHANC_PLUGINS_THROW_EXCEPTION(InexistentItem); } else @@ -215,7 +215,7 @@ { if (path.empty()) { - OrthancPlugins::LogError("Empty path"); + ORTHANC_PLUGINS_LOG_ERROR("Empty path"); ORTHANC_PLUGINS_THROW_EXCEPTION(ParameterOutOfRange); } else