comparison CodeAnalysis/GlobalFunctions.mustache @ 28:b2bbb516056e

The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 27 Apr 2020 07:59:35 +0200
parents 7ed502b17b8f
children 23f3099bed47
comparison
equal deleted inserted replaced
27:ec7860ac40e9 28:b2bbb516056e
18 18
19 19
20 {{#global_functions}} 20 {{#global_functions}}
21 static PyObject* sdk_{{c_function}}(PyObject* module, PyObject* args) 21 static PyObject* sdk_{{c_function}}(PyObject* module, PyObject* args)
22 { 22 {
23 OrthancPlugins::LogInfo("Calling Python global function: {{c_function}}()"); 23 PythonLock::LogCall("Calling Python global function: {{c_function}}()");
24 24
25 {{> function_body}} 25 {{> function_body}}
26 } 26 }
27 27
28 {{/global_functions}} 28 {{/global_functions}}