Mercurial > hg > orthanc
diff Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 2057:54417b0831c4
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 29 Jun 2016 13:40:24 +0200 |
parents | e166a902b3c4 |
children | 43cd2ab060c7 |
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.h Mon Jun 27 17:35:58 2016 +0200 +++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.h Wed Jun 29 13:40:24 2016 +0200 @@ -332,6 +332,24 @@ const std::string& uri, bool applyPlugins); + inline void LogError(OrthancPluginContext* context, + const std::string& message) + { + OrthancPluginLogError(context, message.c_str()); + } + + inline void LogWarning(OrthancPluginContext* context, + const std::string& message) + { + OrthancPluginLogWarning(context, message.c_str()); + } + + inline void LogInfo(OrthancPluginContext* context, + const std::string& message) + { + OrthancPluginLogInfo(context, message.c_str()); + } + namespace Internals {