comparison Plugin/ViewerToolbox.cpp @ 260:620ed85fb514

replacing OrthancPluginLog...() by LOG(...)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Jun 2020 17:38:40 +0200
parents 967ae255a58f
children 4e9d30c19b4b
comparison
equal deleted inserted replaced
259:37a7d9ed4696 260:620ed85fb514
216 216
217 { 217 {
218 char* tmp = OrthancPluginGetConfiguration(context); 218 char* tmp = OrthancPluginGetConfiguration(context);
219 if (tmp == NULL) 219 if (tmp == NULL)
220 { 220 {
221 OrthancPluginLogError(context, "Error while retrieving the configuration from Orthanc"); 221 LOG(ERROR) << "Error while retrieving the configuration from Orthanc";
222 return false; 222 return false;
223 } 223 }
224 224
225 s.assign(tmp); 225 s.assign(tmp);
226 OrthancPluginFreeString(context, tmp); 226 OrthancPluginFreeString(context, tmp);
231 { 231 {
232 return true; 232 return true;
233 } 233 }
234 else 234 else
235 { 235 {
236 OrthancPluginLogError(context, "Unable to parse the configuration"); 236 LOG(ERROR) << "Unable to parse the configuration";
237 return false; 237 return false;
238 } 238 }
239 } 239 }
240 240
241 241